March 2018
Intermediate to advanced
380 pages
9h 23m
English
Webpack (https://webpack.js.org) is a module bundler with a very flexible loader/plugin system. Webpack walks through the dependency graph and passes it through the configured loaders and plugins. With Webpack, you can transpile TypeScript to JavaScript, minimize, and optimize CSS and JS, compile Sass, revision, hash your assets, and so on. Webpack can remove dead code in a process called tree shaking, thus reducing bundle size. Webpack is configured using a configuration file and can be run from the command line or via NPM/YARN scripts.