fix(nuxt): respect baseURL when ignoring prerendered manifest (#30446)

This commit is contained in:
Alexander Lichter 2025-01-04 23:35:27 +01:00 committed by GitHub
parent 4afa905240
commit 7d96a0fd80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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