ensure npm run build is in production mode (#5934)

This commit is contained in:
Krist Wongsuphasawat 2018-09-21 13:30:16 -07:00 committed by Chris Williams
parent 70c095b1c0
commit 0886870cd6
1 changed files with 1 additions and 1 deletions

View File

@ -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",