Skip to content

Conversation

Copilot AI review requested due to automatic review settings December 24, 2025 08:46
@coderabbitai
Copy link

coderabbitai bot commented Dec 24, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch rolldown

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

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

This PR migrates Vue's build system from Rollup/esbuild to Rolldown, a Rust-based bundler. The migration includes:

  • Replacing Rollup with Rolldown for production builds
  • Replacing esbuild with oxc-transform for TypeScript transpilation
  • Replacing @babel/parser with oxc-parser for parsing
  • Replacing @swc/core with oxc-minify for minification
  • Creating new Rolldown configuration files and updating build scripts

Key Changes

  • Build scripts refactored to use Rolldown API directly
  • Type declaration bundling migrated to rolldown-plugin-dts
  • Code adjustments for Rolldown compatibility (property initialization patterns)

Reviewed changes

Copilot reviewed 22 out of 25 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
scripts/dev.js Simplified dev build using Rolldown watch API
scripts/build.js Production build refactored for Rolldown API
scripts/build-types.js New type declaration build using oxc-transform
scripts/create-rolldown-config.js New centralized Rolldown configuration
scripts/inline-enums.js Parser migration from @babel/parser to oxc-parser
scripts/usage-size.js Bundle size tracking updated for Rolldown
rolldown.dts.config.js DTS bundling configuration for rolldown-plugin-dts
packages/runtime-dom/src/apiCustomElement.ts Property initialization moved to constructor
packages/compiler-sfc/src/script/context.ts Property initialization moved to constructor
package.json Dependencies updated to Rolldown ecosystem
.github/contributing.md Documentation updated for new build tooling
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@edison1105 edison1105 marked this pull request as draft December 25, 2025 02:16
@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 25, 2025

Open in StackBlitz

@vue/compiler-core

pnpm add https://pkg.pr.new/@vue/compiler-core@14240
npm i https://pkg.pr.new/@vue/compiler-core@14240
yarn add https://pkg.pr.new/@vue/compiler-core@14240.tgz

@vue/compiler-dom

pnpm add https://pkg.pr.new/@vue/compiler-dom@14240
npm i https://pkg.pr.new/@vue/compiler-dom@14240
yarn add https://pkg.pr.new/@vue/compiler-dom@14240.tgz

@vue/compiler-sfc

pnpm add https://pkg.pr.new/@vue/compiler-sfc@14240
npm i https://pkg.pr.new/@vue/compiler-sfc@14240
yarn add https://pkg.pr.new/@vue/compiler-sfc@14240.tgz

@vue/compiler-ssr

pnpm add https://pkg.pr.new/@vue/compiler-ssr@14240
npm i https://pkg.pr.new/@vue/compiler-ssr@14240
yarn add https://pkg.pr.new/@vue/compiler-ssr@14240.tgz

@vue/compiler-vapor

pnpm add https://pkg.pr.new/@vue/compiler-vapor@14240
npm i https://pkg.pr.new/@vue/compiler-vapor@14240
yarn add https://pkg.pr.new/@vue/compiler-vapor@14240.tgz

@vue/reactivity

pnpm add https://pkg.pr.new/@vue/reactivity@14240
npm i https://pkg.pr.new/@vue/reactivity@14240
yarn add https://pkg.pr.new/@vue/reactivity@14240.tgz

@vue/runtime-core

pnpm add https://pkg.pr.new/@vue/runtime-core@14240
npm i https://pkg.pr.new/@vue/runtime-core@14240
yarn add https://pkg.pr.new/@vue/runtime-core@14240.tgz

@vue/runtime-dom

pnpm add https://pkg.pr.new/@vue/runtime-dom@14240
npm i https://pkg.pr.new/@vue/runtime-dom@14240
yarn add https://pkg.pr.new/@vue/runtime-dom@14240.tgz

@vue/runtime-vapor

pnpm add https://pkg.pr.new/@vue/runtime-vapor@14240
npm i https://pkg.pr.new/@vue/runtime-vapor@14240
yarn add https://pkg.pr.new/@vue/runtime-vapor@14240.tgz

@vue/server-renderer

pnpm add https://pkg.pr.new/@vue/server-renderer@14240
npm i https://pkg.pr.new/@vue/server-renderer@14240
yarn add https://pkg.pr.new/@vue/server-renderer@14240.tgz

@vue/shared

pnpm add https://pkg.pr.new/@vue/shared@14240
npm i https://pkg.pr.new/@vue/shared@14240
yarn add https://pkg.pr.new/@vue/shared@14240.tgz

vue

pnpm add https://pkg.pr.new/vue@14240
npm i https://pkg.pr.new/vue@14240
yarn add https://pkg.pr.new/vue@14240.tgz

@vue/compat

pnpm add https://pkg.pr.new/@vue/compat@14240
npm i https://pkg.pr.new/@vue/compat@14240
yarn add https://pkg.pr.new/@vue/compat@14240.tgz

commit: 8d5b155

@github-actions
Copy link

github-actions bot commented Dec 25, 2025

Size Report

Bundles

File Size Gzip Brotli
compiler-dom.global.prod.js 86.4 kB (+886 B) 30.2 kB (+168 B) 26.6 kB (+112 B)
runtime-dom.global.prod.js 109 kB (+601 B) 41.2 kB (+506 B) 36.9 kB (+293 B)
vue.global.prod.js 168 kB (+1.54 kB) 61 kB (+235 B) 54.4 kB (+358 B)

Usages

Name Size Gzip Brotli
createApp (CAPI only) 49.2 kB (+932 B) 19.3 kB (+440 B) 17.6 kB (+330 B)
createApp 58.3 kB (+977 B) 22.6 kB (+622 B) 20.6 kB (+520 B)
createApp + vaporInteropPlugin 87.1 kB (+1.7 kB) 32.6 kB (+712 B) 29.5 kB (+718 B)
createVaporApp 28.8 kB (+1.15 kB) 11.2 kB (+512 B) 10.2 kB (+487 B)
createSSRApp 62.4 kB (+815 B) 24.4 kB (+503 B) 22.1 kB (+396 B)
createVaporSSRApp 32.4 kB 12.5 kB 11.5 kB
defineCustomElement 64.2 kB (+879 B) 24.5 kB (+597 B) 22.3 kB (+504 B)
defineVaporCustomElement 39.2 kB 14.5 kB 13.3 kB
overall 73 kB (+996 B) 27.9 kB (+634 B) 25.4 kB (+519 B)

@edison1105 edison1105 marked this pull request as ready for review December 26, 2025 05:38
@edison1105
Copy link
Member Author

/ecosystem-ci run

@vuejs vuejs deleted a comment from edison1105 Dec 29, 2025
@vue-bot
Copy link
Contributor

vue-bot commented Dec 29, 2025

📝 Ran ecosystem CI: Open

suite result latest scheduled
quasar success success
vue-macros failure failure
vant success failure
language-tools failure failure
vuetify failure failure
pinia success success
test-utils failure success
nuxt failure success
vueuse failure success
vitepress success success
vue-i18n success failure
radix-vue success success
router success success
vite-plugin-vue success success
vue-simple-compiler success success
primevue success success

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: vapor related to vapor mode version: minor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants