chore: improve note about DefinePlugin (#11425)

This commit is contained in:
Nguyen You 2020-06-02 02:46:10 +07:00 committed by GitHub
parent 0baa129d4c
commit fb589e6f9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
dist/README.md vendored
View File

@ -90,9 +90,7 @@ module.exports = {
plugins: [
// ...
new webpack.DefinePlugin({
'process.env': {
NODE_ENV: JSON.stringify('production')
}
'process.env.NODE_ENV': JSON.stringify('production')
})
]
}