revert(site): downgrade vite to 8.0.10, plugin-react to 6.0.1, vitest to 4.1.5#26034
Merged
Conversation
… to 4.1.5
Vite 8.0.14's optimizer emits a broken pre-bundled @mui/material/styles
chunk that references init_emotion_react_browser_development_esm without
importing it from the sibling @emotion/react chunk. Loading any page that
imports MUI styles fails immediately in dev with:
ReferenceError: init_emotion_react_browser_development_esm is not defined
at /node_modules/.vite/deps/styles-*.js
Reproduces after node_modules/.vite and full node_modules wipes, so it is
not a cache or dedup issue. Reverting the dependabot bump (#25951) restores
working dev servers.
Reverts the version bumps from:
- @vitejs/plugin-react 6.0.2 -> 6.0.1
- vite 8.0.14 -> 8.0.10
- vitest 4.1.7 -> 4.1.5
Verified locally: scripts/develop.sh boots, /login renders fully on both
port 8080 (Vite) and port 3000 (Coder server proxy), no console errors.
jeremyruppel
approved these changes
Jun 3, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Reverts the version bumps from #25951.
Why
Vite 8.0.14's optimizer emits a broken pre-bundled
@mui/material/styleschunk that referencesinit_emotion_react_browser_development_esmwithout importing it from the sibling@emotion/reactchunk. Loading any page that imports MUI styles fails immediately in dev with:The page renders as a white screen. Reproduces after both
node_modules/.vite/and fullnode_modules/wipes, so it is not a stale cache or a pnpm dedup issue.What
@vitejs/plugin-react6.0.2 → 6.0.1vite8.0.14 → 8.0.10vitest4.1.7 → 4.1.5Verification
Local
scripts/develop.shboots,/loginrenders fully on both port 8080 (Vite dev server) and port 3000 (Coder server proxy), no console errors beyond expected unauthenticated401s.Follow-up
We should file an upstream issue with a minimal repro and let dependabot retry once the optimizer fix lands.
Coder Agents on behalf of @Emyrk.