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: [ plugins: [
// ... // ...
new webpack.DefinePlugin({ new webpack.DefinePlugin({
'process.env': { 'process.env.NODE_ENV': JSON.stringify('production')
NODE_ENV: JSON.stringify('production')
}
}) })
] ]
} }