Browse Source

chore: improve note about DefinePlugin (#11425)

dev
Nguyen You 5 years ago
committed by GitHub
parent
commit
fb589e6f9b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dist/README.md

4
dist/README.md

@ -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')
}
}) })
] ]
} }

Loading…
Cancel
Save