chore(deps): upgrade vite to v8 with Rolldown migration#222
chore(deps): upgrade vite to v8 with Rolldown migration#222dtoxvanilla1991 wants to merge 1 commit into
Conversation
- Bump vite from ^7.0.0 to ^8.0.0 (latest: 8.0.10) - Migrate build.rollupOptions to build.rolldownOptions per Vite 8 migration guide (rollupOptions is deprecated in v8) Closes/supersedes #221
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 42 minutes and 59 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Summary
Upgrades
vitefrom^7.0.0to^8.0.0(resolves to8.0.10) and applies the required migration for this codebase.Supersedes / replaces #221 (the Renovate bot PR had merge conflicts with
maindue to the TS 6 bump and other changes that landed since the branch was cut).What changed
package.jsonvite:^7.0.0→^8.0.0vite.config.tsbuild.rollupOptions→build.rolldownOptionsVite 8 ships Rolldown as its bundler. The
rollupOptionskey is now deprecated (auto-converted via a compatibility layer but will be removed in a future major). Renaming torolldownOptionseliminates the deprecation warning and future-proofs the config. Theexternalarray maps 1:1 torolldownOptions.external- no other changes required.Why migration was needed (Vite 8 → Rolldown/Oxc)
rollupOptions→rolldownOptions✅ migratedvitestpeer → no change neededoptimizeDepsAll other Vite 8 breaking changes (CJS interop, UMD
import.meta.url, format sniffing removal,build()throwsBundleError, etc.) do not apply to this library build setup.Verification
All 616 tests pass on
vite@8.0.10: