Skip to content

Commit 7c12895

Browse files
parkourben99chrisvfritz
authored andcommitted
change NODE_ENV to follow recommendations from webpack (#1622)
* change NODE_ENV to follow recommendations from weback * Update deployment.md
1 parent 0336b80 commit 7c12895

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/v2/guide/deployment.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ module.exports = {
3636
plugins: [
3737
// ...
3838
new webpack.DefinePlugin({
39-
'process.env': {
40-
NODE_ENV: JSON.stringify('production')
41-
}
39+
'process.env.NODE_ENV': JSON.stringify('production')
4240
})
4341
]
4442
}

0 commit comments

Comments
 (0)