A webpack 3 based boilerplate for building web apps.
- Pug as a template engine
- SCSS preprocessor for CSS (autoprefixer included)
- JS linting with Eslint, extends eslint-config-standard, includes the following plugins:
- CSS linting with Stylelint
Note: There is also the feature/modern-bundle branch where
webpack
produces two production bundles (legacy & modern). It is experimental so use it with caution.
- Clone the repo via
git clone https://github.com/alexnoz/webpack-pug-scss-boilerplate.git
cd webpack-pug-scss-boilerplate
- Run
yarn install
to fetch all the dependencies - Run
yarn start
to start the webpack-dev-server (localhost:8080
will be opened automatically) - Start developing
- When you are done, run
yarn run build
to get the prod version of your app