Module Loading, Bundling and Build Tasks: Webpack

Webpack is a JavaScript module bundler. It takes modules with their dependencies and generates static assets representing those modules. Webpack known only how to bundle JavaScript. To bundle other assets likes CSS, HTML, images or just about anything it uses additional loaders. Webpack can also be extended via plugins, for example minification and mangling can be done using the UglifyJS plugin for webpack.