A webpack boilerplate with separate development and production configurations and no repeated code.
Both configurations support:
- loading of CSS, image and font assets,
- transpilation of JavaScript down to ES5,
- generation of an HTML index file.
The production build additionally supports minification and tree shaking for reducing bundle size.
The development build supports hot module reloading for easier development.
This branch (generally in line with master
) contains the full split build
configuration. If you want to know exactly how the boilerplate code was put
together, please read my webpack configuration
tutorial.