-
Notifications
You must be signed in to change notification settings - Fork 491
chore: migrate Vite config to Vite 8 beta (Rolldown) #8152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Amp-Thread-ID: https://ampcode.com/threads/T-019bcfff-e466-73d8-830d-89b550859550 Co-authored-by: Amp <[email protected]>
📝 WalkthroughWalkthroughThe PR updates Storybook and Vite build configurations to use Rolldown-specific options (replacing Changes
Possibly related PRs
Suggested reviewers
✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🎭 Playwright Tests:
|
🎨 Storybook Build Status✅ Build completed successfully! ⏰ Completed at: 01/19/2026, 11:10:51 PM UTC 🔗 Links🎉 Your Storybook is ready for review! |
Bundle Size ReportSummary
Category Glance Per-category breakdownApp Entry Points — 22.4 kB (baseline 18.1 kB) • 🔴 +4.21 kBMain entry bundles and manifests
Status: 1 added / 1 removed Graph Workspace — 1.02 MB (baseline 878 kB) • 🔴 +142 kBGraph editor runtime, canvas, workflow orchestration
Status: 1 added / 1 removed Views & Navigation — 80.7 kB (baseline 66.6 kB) • 🔴 +14.1 kBTop-level views, pages, and routed surfaces
Status: 11 added / 11 removed Panels & Settings — 430 kB (baseline 385 kB) • 🔴 +45.3 kBConfiguration panels, inspectors, and settings screens
Status: 21 added / 21 removed User & Accounts — 3.94 kB (baseline 4.22 kB) • 🟢 -283 BAuthentication, profile, and account management bundles
Status: 3 added / 3 removed Editors & Dialogs — 2.8 kB (baseline 2.85 kB) • 🟢 -54 BModals, dialogs, drawers, and in-app editors
Status: 2 added / 2 removed UI Components — 32.8 kB (baseline 26.3 kB) • 🔴 +6.44 kBReusable component library chunks
Status: 8 added / 8 removed Data & Services — 3.04 MB (baseline 2.75 MB) • 🔴 +291 kBStores, services, APIs, and repositories
Status: 8 added / 8 removed Utilities & Hooks — 18.7 kB (baseline 16.6 kB) • 🔴 +2.12 kBHelpers, composables, and utility bundles
Status: 9 added / 8 removed Vendor & Third-Party — 10.4 MB (baseline 9.09 MB) • 🔴 +1.34 MBExternal libraries and shared vendor chunks
Status: 8 added / 8 removed Other — 6.24 MB (baseline 5.91 MB) • 🔴 +333 kBBundles that do not match a named category
Status: 82 added / 83 removed |
| minifyWhitespace: SHOULD_MINIFY, | ||
| pure: SHOULD_MINIFY | ||
| ? [ | ||
| 'console.log', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't want to DCE these anymore?
Prepares Vite config for Vite 8 by migrating from esbuild/Rollup to Rolldown/Oxc. ## Changes - Migrate `build.rollupOptions` → `build.rolldownOptions` - Replace `manualChunks` with `codeSplitting.groups` - Update Storybook config with `strictExecutionOrder` for module loading compatibility ## Testing - [x] `pnpm typecheck` passes - [x] `pnpm build` succeeds - [x] `pnpm test:unit` passes --------- Co-authored-by: Amp <[email protected]>
Prepares Vite config for Vite 8 by migrating from esbuild/Rollup to Rolldown/Oxc.
Changes
build.rollupOptions→build.rolldownOptionsmanualChunkswithcodeSplitting.groupsstrictExecutionOrderfor module loading compatibilityTesting
pnpm typecheckpassespnpm buildsucceedspnpm test:unitpasses