perf(nuxt): remove ssrContext.styles reference (from unused vue-style-loader)

This commit is contained in:
Daniel Roe 2024-05-09 10:09:16 +01:00
parent d66d68cd7d
commit 2d1ab61b2e
No known key found for this signature in database
GPG Key ID: 3714AB03996F442B

View File

@ -467,7 +467,7 @@ export default defineRenderHandler(async (event): Promise<Partial<RenderResponse
const htmlContext: NuxtRenderHTMLContext = { const htmlContext: NuxtRenderHTMLContext = {
island: isRenderingIsland, island: isRenderingIsland,
htmlAttrs: htmlAttrs ? [htmlAttrs] : [], htmlAttrs: htmlAttrs ? [htmlAttrs] : [],
head: normalizeChunks([headTags, ssrContext.styles]), head: normalizeChunks([headTags]),
bodyAttrs: bodyAttrs ? [bodyAttrs] : [], bodyAttrs: bodyAttrs ? [bodyAttrs] : [],
bodyPrepend: normalizeChunks([bodyTagsOpen, ssrContext.teleports?.body]), bodyPrepend: normalizeChunks([bodyTagsOpen, ssrContext.teleports?.body]),
body: [ body: [