diff --git a/packages/next-sitemap/src/parsers/manifest-parser.ts b/packages/next-sitemap/src/parsers/manifest-parser.ts index 8ceeba97..af659d6d 100644 --- a/packages/next-sitemap/src/parsers/manifest-parser.ts +++ b/packages/next-sitemap/src/parsers/manifest-parser.ts @@ -46,7 +46,7 @@ export class ManifestParser { )! // Throw error if no build manifest exist - if (!buildManifest) { + if (config?.output !== 'export' && !buildManifest) { throw Logger.noBuildManifest() }