upgrade: migrate to Vite 8 and update related dependencies#38
Draft
upgrade: migrate to Vite 8 and update related dependencies#38
Conversation
This was referenced Mar 21, 2026
Owner
Author
ProblemVite 8 switched its internal bundler from Rollup to Rolldown. The build itself emits a warning that confirms the issue: [vite] warning: Both `rollupOptions` and `rolldownOptions` were specified by "crx:web-accessible-resources" plugin. `rollupOptions` specified by that plugin will be ignored.StatusWaiting for @crxjs/vite-plugin to add Rolldown / Vite 8 support. Convert to draft. |
1500942 to
542589b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
vite:^7.2.4→^8.0.1@vitejs/plugin-react:^5.2.0→^6.0.1(Oxc-based, Vite 8 optimized)@tailwindcss/vite:^4.2.1→^4.2.2(Vite 8 support)tailwindcss:^4.2.1→^4.2.2overrides.rollup: restored as^2.80.0to fix high severity vulnerability in@crxjs/vite-plugin's rollup 2.x dependency (GHSA-mw96-cpmx-2vgc)Test Plan
Commands
npm run buildand confirmdist/is generated without errorsnpm run testand confirm all tests passnpm auditand confirm 0 vulnerabilitiesE2E (Manual)
dist/viachrome://extensions/→ Enable Developer mode → Load unpacked, confirm the extension loads without errorsImage upload
text/plain— confirm the overlay renders correctlyDrag & resize
Toolbar
Keyboard shortcuts