Skip to content

Commit

Permalink
chore: improve note about DefinePlugin (#11425)
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenyou authored Jun 1, 2020
1 parent 0baa129 commit fb589e6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,7 @@ module.exports = {
plugins: [
// ...
new webpack.DefinePlugin({
'process.env': {
NODE_ENV: JSON.stringify('production')
}
'process.env.NODE_ENV': JSON.stringify('production')
})
]
}
Expand Down

0 comments on commit fb589e6

Please sign in to comment.