Repository navigation
Upgrade Vite to 8 - #46
Merged
Merged
Conversation
Closes the last open npm audit advisory (esbuild dev-server request forgery). The existing config needs no changes; the build now runs on Rolldown and the OPFS worker chunk still emits correctly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Closes the one advisory left out of the earlier dependency PR: esbuild's dev server responding to requests from any website, fixable only via a Vite major bump.
npm auditis now clean in both workspaces, dev and prod deps.The vite.config needed no changes. Vite 8 builds with Rolldown — production build passes (and is faster), the OPFS worker chunk still emits, and the full Playwright suite is green (36 passed), which exercises the Vite dev server directly since the tests run against it.
Note: Vite 8 wants Node 20.19+. The deploy guide installs Node 20 LTS, so a reasonably recent
aptinstall is fine; worth anode --versioncheck on the VM before the next redeploy.🤖 Generated with Claude Code