easy-use-webpack-workflow

一个简单易用的、包含基础功能的webpack工作流。

thanks: vue-cli

特性

  • 🐓静态资源manifest+hash缓存/更新
  • 👻支持热加载\sourceMap调试
  • 🚻支持代码混淆、压缩
  • 🐯支持less/sass/stylus等,支持css autoprefix预编译。
  • 🤡提供基于国际标准的eslint代码规范
  • 😉支持ES6/ES7语法,支持IE8。(部分API需要polyfill)
  • ⏳基于webpack3 急速打包

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report