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 and included in the head of your index.html
, so that the styles are applied before any javascript gets loaded. We disabled this function for the dev version, because the loader doesn't support hot module replacement.