A template project for ECMAScript(latest), webpack3, sass and postcss.
- es6: by babel and it's presets and plugins
- css module: by css-loader
- sass: by sass-loader
- webpack3 provides faster compilation
- auto-reload by webpack-dev-server
$ npm install
# or
$ yarn install
- Copy then rename
env.example.js
toenv.js
if it is not done automatically bypostinstall
.
You can custom your local environment via env.js
, so that it does not affect others.
$ npm start
$ npm run build
This will generator minified css and scripts to dist/
.
You can change your proxy rules in proxy/rules
.
Ask questions here.
PR welcome here.
Micooz micooz@hotmail.com
MIT