Exit with error code when webpack encounts error
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
"install": "cd src && npm install",
|
||||
"postinstall": "npm run build",
|
||||
"build": "npm-run-all build:*",
|
||||
"build:main": "cross-env NODE_ENV=production webpack --config webpack.config.main.js",
|
||||
"build:renderer": "cross-env NODE_ENV=production webpack --config webpack.config.renderer.js",
|
||||
"build:main": "cross-env NODE_ENV=production webpack --bail --config webpack.config.main.js",
|
||||
"build:renderer": "cross-env NODE_ENV=production webpack --bail --config webpack.config.renderer.js",
|
||||
"build:others": "gulp build",
|
||||
"start": "electron dist",
|
||||
"watch": "gulp watch",
|
||||
|
Reference in New Issue
Block a user