diff --git a/packages/nuxt/src/core/runtime/nitro/renderer.ts b/packages/nuxt/src/core/runtime/nitro/renderer.ts index d05d0fad46..021a171130 100644 --- a/packages/nuxt/src/core/runtime/nitro/renderer.ts +++ b/packages/nuxt/src/core/runtime/nitro/renderer.ts @@ -69,7 +69,7 @@ const getStaticRenderedHead = (): Promise => import('#head-static').th const getServerEntry = () => import('#build/dist/server/server.mjs').then(r => r.default || r) // @ts-ignore -const getSSRStyles = (): Promise Promise>> => import('#build/dist/server/styles.mjs').then(r => r.default || r) +const getSSRStyles = lazyCachedFunction((): Promise Promise>> => import('#build/dist/server/styles.mjs').then(r => r.default || r)) // -- SSR Renderer -- const getSSRRenderer = lazyCachedFunction(async () => {