mirror of
https://gitee.com/vuejs/vue.git
synced 2024-11-29 18:47:39 +08:00
chore: improve note about DefinePlugin (#11425)
This commit is contained in:
parent
0baa129d4c
commit
fb589e6f9b
4
dist/README.md
vendored
4
dist/README.md
vendored
@ -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…
Reference in New Issue
Block a user