My question is… With this new kind of tools we can easily pack our application on a single file…
Gil Mendes
21

Webpack is the king for that. Using require.ensure (or System.import in Webpack 2), you can create “split points” where modules will be loaded dynamically on the fly. Great when coupled with routing!

Webpack is also fantastic at figuring out shared code, duplications, automatically created common bundles, multiple entry points etc.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.