Repository navigation
Build/rolldown - #3010
Merged
Merged
Build/rolldown#3010
Conversation
👷 Deploy request for vue-test-utils-docs pending review.Visit the deploys page to approve it
|
Closed
Member
|
Can you rebase this one with just the commit about rolldown so I can take a look? This is something I wanted to land, so thanks! Bundles look similar with a 20% size reduction |
cexbrayat
requested changes
Nov 13, 2026
cexbrayat
left a comment
Member
There was a problem hiding this comment.
Needs to be rebased and isolated to the rolldown commit to land
rolldown is already installed through vite 8 and has resolve, commonjs, json and TypeScript support built in. This removes rollup, five @rollup/plugin-* packages and tslib, and with them the deepmerge advisory that has no fix. - rolldown.config.ts maps the rollup config one-to-one: replace values become transform.define, target stays es2015, and resolution matches @rollup/plugin-node-resolve's defaults (prefer "module", no "browser" field), so the same ESM builds of Vue are bundled - declarations are emitted by tsc (tsconfig.build.json) to the same dist/src/*.d.ts paths - createDomEvent: import KeyName as a type; rolldown transpiles files in isolation and can't tell a type-only re-export from a value - stubComponentsTransformer: use the result of String(value). rolldown treats an unused String() call as pure and removed the try/catch probe for objects that can't be stringified (caught by test:build) All four bundles export the same API as before; bundles are ~20% smaller, mostly because non-legal comments are no longer kept. Co-Authored-By: Claude Opus 5.5 <[email protected]>
SuperDJ
force-pushed
the
build/rolldown
branch
from
November 13, 2026 08:31
7c98f47 to
7070da3
Compare
commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds on #3009.
rolldown is already installed through vite 8 and has resolve, commonjs, json and TypeScript support built in. This removes rollup, five @rollup/plugin-* packages and tslib, and with them the deepmerge advisory that has no fix.
All four bundles export the same API as before; bundles are ~20% smaller, mostly because non-legal comments are no longer kept.