mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-02 03:57:36 +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: [
|
plugins: [
|
||||||
// ...
|
// ...
|
||||||
new webpack.DefinePlugin({
|
new webpack.DefinePlugin({
|
||||||
'process.env': {
|
'process.env.NODE_ENV': JSON.stringify('production')
|
||||||
NODE_ENV: JSON.stringify('production')
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user