From a6fc5da5f88e98df6ccb7764ba7d85997c4cdeff Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Thu, 25 Mar 2021 10:20:17 +0000 Subject: [PATCH] fix(config): merge `app` namespace rather than overriding (#9039) --- packages/config/src/options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/config/src/options.js b/packages/config/src/options.js index 234308ec9a..8e4ab707ec 100644 --- a/packages/config/src/options.js +++ b/packages/config/src/options.js @@ -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