Skip to content

refactor(kit,vite,webpack,nitro,schema): ssrStyles build output => lazy code provider - #35601

Merged
danielroe merged 1 commit into
mainfrom
fix/styles-path
Jul 17, 2026
Merged

danielroe merged 1 commit into
mainfrom
fix/styles-path

Conversation

@danielroe

@danielroe danielroe commented Jul 16, 2026 •

Copy link
Copy Markdown
Member

🔗 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

@github-actions github-actions Bot added 5.x ♻️ refactor Code restructuring without behavior change labels Jul 16, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jul 16, 2026

Copy link
Copy Markdown

Open in StackBlitz

@nuxt/kit

npm i https://pkg.pr.new/@nuxt/kit@35601

@nuxt/nitro-server

npm i https://pkg.pr.new/@nuxt/nitro-server@35601

nuxt

npm i https://pkg.pr.new/nuxt@35601

@nuxt/rspack-builder

npm i https://pkg.pr.new/@nuxt/rspack-builder@35601

@nuxt/schema

npm i https://pkg.pr.new/@nuxt/schema@35601

@nuxt/vite-builder

npm i https://pkg.pr.new/@nuxt/vite-builder@35601

@nuxt/webpack-builder

npm i https://pkg.pr.new/@nuxt/webpack-builder@35601

commit: 61de057

@coderabbitai

This comment has been minimized.

@codspeed

codspeed Bot commented Jul 16, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 21 untouched benchmarks
⏩ 3 skipped benchmarks1


Comparing fix/styles-path (61de057) with main (cd1355e)

Open in CodSpeed

Footnotes

  1. 3 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

}
return (provider as () => string | Promise<string>)()
}
nitroConfig.virtual![specifier] = () => nuxt.buildOutputs[key]()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sadly not! it doesn't change the build ordering but... I'm optimistic on the env api!

@danielroe
danielroe added this pull request to the merge queue Jul 17, 2026
Merged via the queue into main with commit 31e6aa4 Jul 17, 2026
37 of 38 checks passed
@danielroe
danielroe deleted the fix/styles-path branch July 17, 2026 08:35
@github-actions github-actions Bot mentioned this pull request Jul 16, 2026
2 of 5 tasks
danielroe added a commit that referenced this pull request Jul 17, 2026
@github-actions github-actions Bot mentioned this pull request Jul 17, 2026
danielroe added a commit that referenced this pull request Jul 17, 2026
danielroe added a commit that referenced this pull request Jul 17, 2026
danielroe added a commit that referenced this pull request Jul 17, 2026
danielroe added a commit that referenced this pull request Jul 17, 2026
@github-actions github-actions Bot mentioned this pull request Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5.x ♻️ refactor Code restructuring without behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants