-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
MEAN Web Development - Second Edition
By :
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.
It is highly recommended that you learn more about Webpack by visiting the official project page at https://webpack.github.io/.
Before we can start configuring our Webpack implementation, we will need to install Webpack's dependencies using npm. To do that, change your package.json file, as follows:
{
"name": "MEAN...