From 7d96a0fd802c01689872d5873f1cb9ae1660617c Mon Sep 17 00:00:00 2001 From: Alexander Lichter Date: Sat, 4 Jan 2025 23:35:27 +0100 Subject: [PATCH] fix(nuxt): respect `baseURL` when ignoring prerendered manifest (#30446) --- packages/nuxt/src/core/nitro.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nuxt/src/core/nitro.ts b/packages/nuxt/src/core/nitro.ts index d5da556ee3..698cb04b3a 100644 --- a/packages/nuxt/src/core/nitro.ts +++ b/packages/nuxt/src/core/nitro.ts @@ -254,7 +254,7 @@ export async function initNitro (nuxt: Nuxt & { _nitro?: Nitro }) { nitroConfig.prerender ||= {} nitroConfig.prerender.ignore ||= [] - nitroConfig.prerender.ignore.push(manifestPrefix) + nitroConfig.prerender.ignore.push(joinURL(nuxt.options.app.baseURL, manifestPrefix)) nitroConfig.publicAssets!.unshift( // build manifest