mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
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
|
// Expose app config to $config.app
|
||||||
options.publicRuntimeConfig = options.publicRuntimeConfig || {}
|
options.publicRuntimeConfig = options.publicRuntimeConfig || {}
|
||||||
options.publicRuntimeConfig.app = options.app
|
options.publicRuntimeConfig.app = defu(options.publicRuntimeConfig.app, options.app)
|
||||||
|
|
||||||
// Generate staticAssets
|
// Generate staticAssets
|
||||||
const { staticAssets } = options.generate
|
const { staticAssets } = options.generate
|
||||||
|
Loading…
Reference in New Issue
Block a user