Setup webpack production config

This commit is contained in:
Yukai Huang
2016-10-11 15:45:00 +08:00
parent 06437ccaa9
commit f9e7f482d3
4 changed files with 134 additions and 94 deletions

View File

@@ -5,7 +5,8 @@
"main": "app.js",
"license": "MIT",
"scripts": {
"dev": "webpack --config webpack.config.js --progress --colors --watch"
"dev": "webpack --config webpack.config.js --progress --colors --watch",
"build": "webpack --config webpack.production.js --progress --colors"
},
"dependencies": {
"async": "^2.0.1",