mirror of https://github.com/nuxt/nuxt.git
fix(config): merge `app` namespace rather than overriding (#9039)
This commit is contained in:
parent
7c86c11d94
commit
a6fc5da5f8
|
@ -461,7 +461,7 @@ export function getNuxtConfig (_options) {
|
|||
})
|
||||
// Expose app config to $config.app
|
||||
options.publicRuntimeConfig = options.publicRuntimeConfig || {}
|
||||
options.publicRuntimeConfig.app = options.app
|
||||
options.publicRuntimeConfig.app = defu(options.publicRuntimeConfig.app, options.app)
|
||||
|
||||
// Generate staticAssets
|
||||
const { staticAssets } = options.generate
|
||||
|
|
Loading…
Reference in New Issue