A lightweight boilerplate for your next webpack based frontend project. Enjoy!
Static webpack boilerplate requires the following...
Quick start:
# Install dependencies
yarn install
# Run dev server
yarn run dev
# To build dist folder
yarn run build
# Make it your own repo
rm -rf .git && git init
# Installing in a new directory of your choice
git clone https://github.com/ericz99/static-webpack-boilerplate.git <your folder>
- ES6 Support via babel (v7)
- SASS Support via sass-loader
- Linting via eslint-loader
- Airbnb style via eslint-config-airbnb
When you run yarn run build
we use the mini-css-extract-plugin to move the css to a separate file. The css file gets included in the head of the index.html
.
This webpack boilerplate provides production ready deployment onto cloud based service like heroku.
Eric Zhang
1.0.0
This project is licensed under the MIT License - see the LICENSE file for details