Skip to content

Update to Vite 8 with rolldown#1605

Open
dan-lee wants to merge 11 commits intomainfrom
chore/rolldown
Open

Update to Vite 8 with rolldown#1605
dan-lee wants to merge 11 commits intomainfrom
chore/rolldown

Conversation

@dan-lee
Copy link
Contributor

@dan-lee dan-lee commented Oct 14, 2025

Update vite@8 integration for faster Vite builds: https://vite.dev/guide/rolldown

Breaking changes:

  • Minimal Node.js version upped from 22.7+ to 22.12+. Minimum Node 20.x stays the same
  • Browser:

    Default Browser Target change
    The default browser value of build.target is updated to a newer browser.

    • Chrome 87 → 111
    • Edge 88 → 111
    • Firefox 78 → 114
    • Safari 14.0 → 16.4

    These browser versions align with Baseline Widely Available feature sets as of 2026-01-01. In other words, they were all released about two and a half years ago.

See:

Copilot AI review requested due to automatic review settings October 14, 2025 11:16
@vercel
Copy link

vercel bot commented Oct 14, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
zudoku-cosmo-cargo Ready Ready Preview, Comment Feb 12, 2026 5:02pm
zudoku-dev Ready Ready Preview, Comment Feb 12, 2026 5:02pm
zudoku-docs Ready Ready Preview Feb 12, 2026 5:02pm

Request Review

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Updates Vite to use the rolldown bundler (via rolldown-vite npm alias) and makes associated TypeScript and code changes to support the migration.

  • Replaces Vite with rolldown-vite and updates related dependencies
  • Adds TypeScript compiler option erasableSyntaxOnly for compatibility
  • Refactors class constructors to use private fields instead of parameter properties

Reviewed Changes

Copilot reviewed 14 out of 15 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/zudoku/package.json Updates Vite to rolldown-vite alias and bumps React plugin version
packages/zudoku/tsconfig.*.json Adds erasableSyntaxOnly compiler option
packages/zudoku/src/vite/plugin-theme.test.ts Removes rollup type imports and uses any type
packages/zudoku/src/vite/dev-server.ts Refactors class to use private fields
packages/zudoku/src/lib/plugins/openapi/client/GraphQLClient.tsx Refactors constructor to use private fields
packages/zudoku/src/lib/authentication/errors.ts Refactors constructor to use private fields
packages/zudoku/src/config/loader.ts Updates type imports for rolldown compatibility
packages/zudoku/src/vite/config.ts Removes esbuild target configuration
packages/zudoku/src/vite/plugin-metadata.ts Removes isExternal check
packages/zudoku/cli.js Updates Node.js version requirement
package.json Updates Node.js version requirement and package manager
docs/src/LandingPage.css Fixes duplicate CSS selector
docs/pages/docs/quickstart.md Updates Node.js version in documentation
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-actions
Copy link

github-actions bot commented Oct 14, 2025

Preview build of published Zudoku package for commit d66c4f2.

See the deployment at: https://328fcd9b.cosmocargo-public-package.pages.dev

Note

This is a preview of the Cosmo Cargo example using the Zudoku package published to a local registry to ensure it'll be working when published to the public NPM registry.

Last updated: 2026-02-12T17:07:03.485Z

@dan-lee dan-lee changed the title Update Vite and use rolldown Update to Vite 8 with rolldown Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants