Skip to content

refactor(vite): overhaul plugin setup#3676

Merged
pi0 merged 2 commits into
mainfrom
refactor/vite-plugin
Oct 24, 2025
Merged

refactor(vite): overhaul plugin setup#3676
pi0 merged 2 commits into
mainfrom
refactor/vite-plugin

Conversation

@pi0
Copy link
Copy Markdown
Member

@pi0 pi0 commented Oct 24, 2025

This PR overhauls nitro vite plugin setup to use more modular plugins.

Using applyToEnvironment from nitro:init, we can directly inject dynamic rollup plugins in dev (resolves #3675) -- huge thanks to @hi-ogawa and @sapphi-red for this tip ❤️

@vercel
Copy link
Copy Markdown

vercel Bot commented Oct 24, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
nitro.build Ready Ready Preview Comment Oct 24, 2025 10:25am

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Oct 24, 2025

Open in StackBlitz

npm i https://pkg.pr.new/nitrojs/nitro@3676

commit: 546f795

@pi0 pi0 merged commit fa2c167 into main Oct 24, 2025
7 checks passed
@pi0 pi0 deleted the refactor/vite-plugin branch October 24, 2025 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant