Webpack
Webpack is a module bundler. It uses a dependency graph to figure out how to
bundle assets based on an entry point like index.js
.
Integration
- Can be configured via a JS module called
webpack.config.js
webpack
should be set to thebuild
command inside thepackage.json
- Non-JS Files need loaders to pre-process file types, e.g.
css-loader
- Rules need to be defined in
webpack.config.js
to match files to loaders