javascript - What does it mean for Webpack to ship with runtime? -


i heard somewhere "webpack ships runtime" - , that's suppose mean webpack has own version of requiring modules. don't understand runtime means in context. mean when hit localhost has webpack running, build out code bundle.js @ moment hit localhost , figure out right , there how require , module dependencies play out?

if so, why important? isn't way webpack can work?

it means when webpack builds javascript, includes bit of own code executed @ runtime. result of webpack build isn't exclusively code piped in, it's code plus code webpack adds.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Python Tornado package error when running server -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -