Skip to content

build: align Vite 8 bundler config#599

Open
southpolesteve wants to merge 2 commits intomainfrom
codex/vite8-rolldown
Open

build: align Vite 8 bundler config#599
southpolesteve wants to merge 2 commits intomainfrom
codex/vite8-rolldown

Conversation

@southpolesteve
Copy link
Collaborator

Summary

  • bump the workspace catalog and vinext peer range to the current Vite 8 plugin-rsc/plugin-react releases
  • emit rolldownOptions on Vite 8 while still honoring user-supplied legacy build.rollupOptions
  • switch client chunking to Rolldown codeSplitting on Vite 8 and update tests to accept both config shapes

Testing

  • pnpm test tests/build-optimization.test.ts
  • pnpm test tests/pages-router.test.ts -t "suppresses MODULE_LEVEL_DIRECTIVE warnings from Rollup|preserves user-supplied build.rollupOptions.onwarn"
  • pnpm test tests/tsconfig-paths-vite8.test.ts
  • pnpm run build

Base automatically changed from codex/vite8-docs to main March 20, 2026 01:44
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