[PR #599] [MERGED] build: align Vite 8 bundler config #700

Closed
opened 2026-05-06 13:09:38 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/cloudflare/vinext/pull/599
Author: @southpolesteve
Created: 3/20/2026
Status: Merged
Merged: 3/28/2026
Merged by: @james-elicx

Base: mainHead: codex/vite8-rolldown


📝 Commits (2)

📊 Changes

7 files changed (+281 additions, -573 deletions)

View changed files

📝 packages/vinext/package.json (+1 -1)
📝 packages/vinext/src/cli.ts (+12 -8)
📝 packages/vinext/src/index.ts (+64 -15)
📝 pnpm-lock.yaml (+162 -525)
📝 pnpm-workspace.yaml (+2 -2)
📝 tests/build-optimization.test.ts (+26 -14)
📝 tests/pages-router.test.ts (+14 -8)

📄 Description

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

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cloudflare/vinext/pull/599 **Author:** [@southpolesteve](https://github.com/southpolesteve) **Created:** 3/20/2026 **Status:** ✅ Merged **Merged:** 3/28/2026 **Merged by:** [@james-elicx](https://github.com/james-elicx) **Base:** `main` ← **Head:** `codex/vite8-rolldown` --- ### 📝 Commits (2) - [`8bb7b70`](https://github.com/cloudflare/vinext/commit/8bb7b706b5e4106becde7f6d0d5ed02f168ca3e2) build: align Vite 8 bundler config - [`8a2b6b7`](https://github.com/cloudflare/vinext/commit/8a2b6b7d7b19fb7fc47e4cbdb902b722a77e529a) fmt ### 📊 Changes **7 files changed** (+281 additions, -573 deletions) <details> <summary>View changed files</summary> 📝 `packages/vinext/package.json` (+1 -1) 📝 `packages/vinext/src/cli.ts` (+12 -8) 📝 `packages/vinext/src/index.ts` (+64 -15) 📝 `pnpm-lock.yaml` (+162 -525) 📝 `pnpm-workspace.yaml` (+2 -2) 📝 `tests/build-optimization.test.ts` (+26 -14) 📝 `tests/pages-router.test.ts` (+14 -8) </details> ### 📄 Description ## 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 13:09:38 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#700
No description provided.