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

Loading…
Cancel
Save