We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
serialize
1 parent 441263e commit 7cf09fbCopy full SHA for 7cf09fb
packages/gatsby-plugin-sitemap/src/gatsby-node.js
@@ -46,7 +46,7 @@ exports.onPostBuild = async (
46
basePath,
47
resolveSiteUrl
48
)
49
- const urls = serialize(filteredRecords)
+ const urls = await serialize(filteredRecords)
50
51
if (!rest.sitemapSize || urls.length <= rest.sitemapSize) {
52
const map = sitemap.createSitemap(rest)
0 commit comments