Skip to content

feat: upgrade to Vite 8, Rolldown RC5, and latest React experimental#310

Merged
lazarv merged 4 commits intomainfrom
feat/vite8
Feb 21, 2026
Merged

feat: upgrade to Vite 8, Rolldown RC5, and latest React experimental#310
lazarv merged 4 commits intomainfrom
feat/vite8

Conversation

@lazarv
Copy link
Owner

@lazarv lazarv commented Feb 21, 2026

Upgrade to Vite 8, Rolldown RC5, and latest React experimental

This PR migrates the entire framework from rolldown-vite 7.3.0 to the official Vite 8.0.0-beta.15 (which integrates Rolldown natively) and updates all related dependencies.

Key changes

Dependency upgrades

  • Vite: rolldown-vite@7.3.0vite@8.0.0-beta.15 — all imports changed from rolldown-vite to vite
  • Rolldown: 1.0.0-beta.531.0.0-rc.5
  • React: experimental 7dc903cd-20251203ab18f33d-20260220
  • react-server-dom-webpack: updated to matching React experimental version
  • All pnpm overrides updated accordingly (vite overrides, react overrides)

Vite 8 / Rolldown API migration

  • advancedChunkscodeSplitting in all build configs (client, server, edge)
  • inlineDynamicImports: truecodeSplitting: false (edge build)
  • Added rolldownOptions.checks.pluginTimings support gated behind ROLLDOWN_PLUGIN_TIMINGS env var
  • Output filter regex updated from rolldown-vite to vite version string matching
  • Chunk size warning message updated to reference codeSplitting instead of advancedChunks
  • Backward-compatible: configs still check both codeSplitting and advancedChunks groups

Manifest / build adjustments

  • Client manifest entry filtering simplified: removed isDynamicEntry check (only isEntry needed)
  • create-react-server scaffolding updated for new Vite version

Dev server and loaders

  • createServer / createLogger imports migrated from rolldown-vite to vite
  • Hybrid evaluator and render worker updated for Vite 8 APIs
  • Deno loader module rewritten for compatibility
  • Module alias loader adjusted
  • Optimize-deps plugin updated

Test and docs

  • Test setup (vitestSetup.mjs) and test dependencies updated
  • tsconfig.json path alias cleanup
  • Docs: micro-frontends page updated (en + ja) for Vite 8 import paths

27 files changed across the monorepo

@github-actions
Copy link

github-actions bot commented Feb 21, 2026

✅ Documentation preview deployed to: https://react-server-docs-iph8b3kfm-lazarv-team.vercel.app

@lazarv lazarv merged commit 61b3f3a into main Feb 21, 2026
52 checks passed
@lazarv lazarv deleted the feat/vite8 branch February 21, 2026 22:11
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