Skip to content

Commit fb589e6

Browse files
authored
chore: improve note about DefinePlugin (#11425)
1 parent 0baa129 commit fb589e6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: dist/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,7 @@ module.exports = {
9090
plugins: [
9191
// ...
9292
new webpack.DefinePlugin({
93-
'process.env': {
94-
NODE_ENV: JSON.stringify('production')
95-
}
93+
'process.env.NODE_ENV': JSON.stringify('production')
9694
})
9795
]
9896
}

0 commit comments

Comments
 (0)