Introducing Webpack

Webpack is a popular module bundler created by Tobias Koppers. It has taken over the world of JavaScipt and has become one of the most used tools in our ecosystem. As an alternative to other module bundlers, such as SystemJS (which we used up until now), it has a pretty straightforward motivation: to simplify code bundling, modularizing big applications, and code splitting. However, after a few years of active development, it can now do much more, including features such as asset bundling, preprocessing, and optimization. In our modest introduction, though, we'll learn how to simply replace SystemJS to bundle and load our Angular modules.

Note

It is highly recommended that you learn more about Webpack by visiting the official ...

Get MEAN Web Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.