Skip to content

chore(deps): upgrade vite to v8 with Rolldown migration#222

Closed
dtoxvanilla1991 wants to merge 1 commit into
mainfrom
feat/upgrade-vite-8
Closed

chore(deps): upgrade vite to v8 with Rolldown migration#222
dtoxvanilla1991 wants to merge 1 commit into
mainfrom
feat/upgrade-vite-8

Conversation

@dtoxvanilla1991

@dtoxvanilla1991 dtoxvanilla1991 commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Upgrades vite from ^7.0.0 to ^8.0.0 (resolves to 8.0.10) and applies the required migration for this codebase.

Supersedes / replaces #221 (the Renovate bot PR had merge conflicts with main due to the TS 6 bump and other changes that landed since the branch was cut).


What changed

package.json

  • vite: ^7.0.0^8.0.0

vite.config.ts

  • build.rollupOptionsbuild.rolldownOptions

    Vite 8 ships Rolldown as its bundler. The rollupOptions key is now deprecated (auto-converted via a compatibility layer but will be removed in a future major). Renaming to rolldownOptions eliminates the deprecation warning and future-proofs the config. The external array maps 1:1 to rolldownOptions.external - no other changes required.


Why migration was needed (Vite 8 → Rolldown/Oxc)

Area Vite 7 Vite 8 Impact on this repo
Bundler Rollup Rolldown rollupOptionsrolldownOptions ✅ migrated
JS transformer esbuild Oxc Not configured explicitly → no change needed
JS minifier esbuild Oxc minifier Not configured explicitly → no change needed
CSS minifier esbuild Lightning CSS Already used via vitest peer → no change needed
optimizeDeps esbuild Rolldown Not configured explicitly → no change needed

All other Vite 8 breaking changes (CJS interop, UMD import.meta.url, format sniffing removal, build() throws BundleError, etc.) do not apply to this library build setup.


Verification

All 616 tests pass on vite@8.0.10:

Test Files  54 passed (2 skipped)
Tests       616 passed (20 skipped)

- 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
@dtoxvanilla1991 dtoxvanilla1991 requested review from a team as code owners April 24, 2026 23:44
@coderabbitai

coderabbitai Bot commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@dtoxvanilla1991 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 42 minutes and 59 seconds before requesting another review.

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 @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 8547c9eb-48fc-42e8-b9c4-c23561724bea

📥 Commits

Reviewing files that changed from the base of the PR and between 87458ce and 089a9d8.

⛔ Files ignored due to path filters (2)
  • package.json is excluded by !**/*.json
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml, !**/*.yaml
📒 Files selected for processing (1)
  • vite.config.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/upgrade-vite-8

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@dtoxvanilla1991 dtoxvanilla1991 self-assigned this Apr 24, 2026
@codecov

codecov Bot commented Apr 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@dtoxvanilla1991 dtoxvanilla1991 deleted the feat/upgrade-vite-8 branch April 24, 2026 23:56
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