Skip to content

Commit

Permalink
Merge pull request #641 from iamvishnusankar/feat/static-export
Browse files Browse the repository at this point in the history
[Fix] Missing build manifest error for static exports
  • Loading branch information
iamvishnusankar committed May 18, 2023
2 parents 777cd4e + d41367b commit d51eca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next-sitemap/src/parsers/manifest-parser.ts
Expand Up @@ -46,7 +46,7 @@ export class ManifestParser {
)!

// Throw error if no build manifest exist
if (!buildManifest) {
if (config?.output !== 'export' && !buildManifest) {
throw Logger.noBuildManifest()
}

Expand Down

0 comments on commit d51eca2

Please sign in to comment.