A lightweight foundation for your next webpack based frontend project.
npm install
npm run dev
npm run build
- ES6 Support via babel-loader
- SASS Support via sass-loader
- Linting via eslint-loader
- Hot Module Replacement
When you run npm run build
we use the extract-text-webpack-plugin to move the css to a separate file, so that the styles are applied before any javascript gets loaded. This file then gets automatically included in the head of your index.html
file. We disabled this function for the dev version, because the loader doesn't support hot module replacement.