Skip to content

revert(site): downgrade vite to 8.0.10, plugin-react to 6.0.1, vitest to 4.1.5#26034

Merged
Emyrk merged 1 commit into
mainfrom
revert-vite-8014
Jun 3, 2026
Merged

revert(site): downgrade vite to 8.0.10, plugin-react to 6.0.1, vitest to 4.1.5#26034
Emyrk merged 1 commit into
mainfrom
revert-vite-8014

Conversation

@Emyrk

@Emyrk Emyrk commented Jun 3, 2026

Copy link
Copy Markdown
Member

Reverts the version bumps from #25951.

Why

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-<hash>.js

The page renders as a white screen. Reproduces after both node_modules/.vite/ and full node_modules/ wipes, so it is not a stale cache or a pnpm dedup issue.

What

  • @vitejs/plugin-react 6.0.2 → 6.0.1
  • vite 8.0.14 → 8.0.10
  • vitest 4.1.7 → 4.1.5

Verification

Local scripts/develop.sh boots, /login renders fully on both port 8080 (Vite dev server) and port 3000 (Coder server proxy), no console errors beyond expected unauthenticated 401s.

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.

… 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.
@Emyrk Emyrk marked this pull request as ready for review June 3, 2026 20:35
@Emyrk Emyrk merged commit c895ab7 into main Jun 3, 2026
56 checks passed
@Emyrk Emyrk deleted the revert-vite-8014 branch June 3, 2026 20:36
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants