A webpack boilerplate with separate development and production configurations
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
package-lock.json
package.json
webpack.common.js
webpack.dev.js
webpack.prod.js

README.md

Split Webpack Boilerplate

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.

Split/Main Branch

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.