Skip to content

Commit b6335e9

Browse files
committed
Properly set NODE_ENV
Signed-off-by: Julius Härtl <[email protected]>
1 parent d799504 commit b6335e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"test": "tests"
99
},
1010
"scripts": {
11-
"build": "webpack --progress --hide-modules --config webpack.prod.js",
12-
"dev": "webpack --progress --watch --config webpack.dev.js",
13-
"watch": "webpack --progress --watch --config webpack.dev.js"
11+
"build": "NODE_ENV=production webpack --progress --hide-modules --config webpack.prod.js",
12+
"dev": "NODE_ENV=development webpack --progress --watch --config webpack.dev.js",
13+
"watch": "NODE_ENV=development webpack --progress --watch --config webpack.dev.js"
1414
},
1515
"repository": {
1616
"type": "git",

0 commit comments

Comments
 (0)