diff --git a/nuxt.config.ts b/nuxt.config.ts index 7d54782..d4ca731 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -40,7 +40,7 @@ export default defineNuxtConfig({ defer: true, } : undefined, - ], + ].filter(Boolean), }, }, plugins: [], @@ -88,7 +88,7 @@ export default defineNuxtConfig({ "DATAPLANE_URL", "GIT_COMMIT_HASH", "GIT_REPO_URL", - ].map((key) => [`process.env.${key}`, JSON.stringify(process.env[key])]) + ].map((key) => [`process.env.${key}`, JSON.stringify(process.env[key] || "")]) ), css: { preprocessorOptions: {