Repository navigation
refactor(kit,vite,webpack,nitro,schema): ssrStyles build output => lazy code provider - #35601
Conversation
…a lazy code provider
@nuxt/kit
@nuxt/nitro-server
nuxt
@nuxt/rspack-builder
@nuxt/schema
@nuxt/vite-builder
@nuxt/webpack-builder
commit: |
This comment has been minimized.
This comment has been minimized.
Merging this PR will not alter performance
Comparing Footnotes
|
| } | ||
| return (provider as () => string | Promise<string>)() | ||
| } | ||
| nitroConfig.virtual![specifier] = () => nuxt.buildOutputs[key]() |
There was a problem hiding this comment.
does this mean we'll have a shared SSR file with nitro ?
I remember without env api it was, nuxt build first then nitro build itself with the nuxt output.
Now, the SSR env would build itself with both nuxt + nitro output ? If so, i think that would help me a lot on the nuxt island changes i'm doing.
There was a problem hiding this comment.
sadly not! it doesn't change the build ordering but... I'm optimistic on the env api!
…lazy code provider (#35601)
…lazy code provider (#35601)
…lazy code provider (#35601)
…lazy code provider (#35601)
…lazy code provider (#35601)
🔗 Linked issue
📚 Description
this makes it consistent with the rest of the build outputs, and this is also what we need for the vite environment api