Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

Commit 68a43f4

Browse files
committed
Setting NODE_ENV=production so webpack can remove unused debug code.
1 parent be01c0b commit 68a43f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"scripts": {
1010
"test": "echo \"Error: no test specified\" && exit 1",
1111
"webpack:dev": "webpack --config webpack.conf.js --watch --color --progress",
12-
"webpack:prod": "webpack --config webpack.conf.js --progress --optimize-minimize -p",
12+
"webpack:prod": "NODE_ENV=production webpack --config webpack.conf.js --progress --optimize-minimize",
1313
"postinstall": "npm run updatesemantic",
1414
"updatesemantic": "cp App/styles/theme.config ./node_modules/semantic-ui-less/theme.config; rm -Rf ./node_modules/semantic-ui-less/site; cp -R App/styles/site ./node_modules/semantic-ui-less/",
1515
"heroku-postbuild": "npm run webpack:prod"

0 commit comments

Comments
 (0)