Use correct webpack configuration file on 'npm run build'
authorFrank Bessou <frank.bessou@logilab.fr>
Fri, 28 Apr 2017 13:22:50 +0200
changeset 153 4c6627371402
parent 152 4d4a2d300531
child 154 b2335ad43c16
Use correct webpack configuration file on 'npm run build' The configuration file 'development.config.js' did not exist and that was causing the 'build' script to crash.
package.json
--- a/package.json	Fri Apr 28 13:30:11 2017 +0200
+++ b/package.json	Fri Apr 28 13:22:50 2017 +0200
@@ -59,7 +59,7 @@
     "test:watch": "karma start --reporters mocha",
     "test:ci": "karma start --single-run --no-colors || true",
     "test": "karma start --single-run || true",
-    "build": "webpack --progress --config development.config.js",
+    "build": "webpack --progress --config webpack/common.config.js",
     "watch": "webpack --progress -d --watch",
     "lint": "eslint --cache src test",
     "start": "webpack-dev-server"