Full Stack Development with JHipster
上QQ阅读APP看书,第一时间看更新

Webpack

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.