Exit with error code when webpack encounts error
This commit is contained in:
parent
f8fadcb844
commit
e72e4155ba
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue