mirror of https://github.com/apache/superset.git
ensure npm run build is in production mode (#5934)
This commit is contained in:
parent
70c095b1c0
commit
0886870cd6
|
@ -15,7 +15,7 @@
|
|||
"dev": "webpack --mode=development --colors --progress --debug --watch",
|
||||
"dev-server": "webpack-dev-server --mode=development --progress",
|
||||
"prod": "node --max_old_space_size=4096 webpack --mode=production --colors --progress",
|
||||
"build": "webpack --mode=production --colors --progress",
|
||||
"build": "NODE_ENV=production webpack --mode=production --colors --progress",
|
||||
"lint": "eslint --ignore-path=.eslintignore --ext .js,.jsx .",
|
||||
"lint-fix": "eslint --fix --ignore-path=.eslintignore --ext .js,.jsx .",
|
||||
"sync-backend": "babel-node --presets env src/syncBackend.js",
|
||||
|
|
Loading…
Reference in New Issue