remove SAGE_ENV; uses webpack -d/-p flags; add config file; subfolders in dist/

This commit is contained in:
Patrick Vézina
2016-03-15 10:47:02 -04:00
parent 82cd4c32f6
commit 7fa53e3e37
6 changed files with 81 additions and 41 deletions

View File

@@ -18,9 +18,9 @@
}
],
"scripts": {
"build:production": "export SAGE_ENV=production && webpack",
"build": "export SAGE_ENV=development && webpack",
"watch": "export SAGE_ENV=development && node dev.js"
"build:production": "webpack -p",
"build": "webpack -d",
"watch": "NODE_ENV=development node dev.js"
},
"engines": {
"node": ">= 0.12.0",