The Wayback Machine - https://web.archive.org/web/20200916225209/https://github.com/micooz/es6-webpack2-starter
Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

es6-webpack2-starter

npm npm David David %e2%9d%a4

A template project for ECMAScript(latest), webpack3, sass and postcss.

Features

  • 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

Installation

$ npm install
# or
$ yarn install

Configuration

  1. Copy then rename env.example.js to env.js if it is not done automatically by postinstall.

You can custom your local environment via env.js, so that it does not affect others.

Run in development

$ npm start

Build for production

$ npm run build

This will generator minified css and scripts to dist/.

Proxy

You can change your proxy rules in proxy/rules.

Need Help?

Ask questions here.

Any advise?

PR welcome here.

Contributors

Micooz [email protected]

License

MIT

You can’t perform that action at this time.