mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
refactor: remove unnecessary env
This commit is contained in:
parent
f1ff6341ea
commit
8d728da3c7
@ -8,10 +8,6 @@ export default class WebpackModernConfig extends WebpackClientConfig {
|
|||||||
|
|
||||||
env() {
|
env() {
|
||||||
return Object.assign(super.env(), {
|
return Object.assign(super.env(), {
|
||||||
'process.env.VUE_ENV': JSON.stringify('client'),
|
|
||||||
'process.browser': true,
|
|
||||||
'process.client': true,
|
|
||||||
'process.server': false,
|
|
||||||
'process.modern': true
|
'process.modern': true
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user