mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(cli): don't mutate options export (#5865)
This commit is contained in:
parent
f2c088978e
commit
e4fd6fee7e
@ -46,6 +46,9 @@ export async function loadNuxtConfig(argv) {
|
||||
}
|
||||
}
|
||||
|
||||
// Don't mutate options export
|
||||
options = Object.assign({}, options)
|
||||
|
||||
// Keep _nuxtConfigFile for watching
|
||||
options._nuxtConfigFile = nuxtConfigFile
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user