Skip to content

Commit

Permalink
fix: do not include head tags in inlined site data
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Mar 13, 2023
1 parent b79b873 commit 2f26693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/build/build.ts
Expand Up @@ -65,7 +65,7 @@ export async function build(
// it's faster than embedding as JS object literal.
const hashMapString = JSON.stringify(JSON.stringify(pageToHashMap))
const siteDataString = JSON.stringify(
JSON.stringify(serializeFunctions(siteConfig.site))
JSON.stringify(serializeFunctions({ ...siteConfig.site, head: [] }))
)

await Promise.all(
Expand Down

0 comments on commit 2f26693

Please sign in to comment.