build(deps-dev): bump rolldown to ^1.2.1 and unpin - #881
Merged
Conversation
rolldown 1.1.5 -> ^1.2.1. The exact pin dated from the pre-1.0 period; now that v1 is stable, track the caret range like every other build dependency. Isolated from the other dev dependency bumps so a build-tool regression stays independently revertable. No breaking changes documented; experimental.lazyBarrel was already defaulted off in 1.1.4. @rolldown/plugin-node-polyfills stays at ^1.0.3. All four build variants verified. The rollup outputs are byte-identical; the rolldown outputs shrink marginally: rollup unmin 18,266,842 -> 18,266,842 +0 rollup min 8,836,315 -> 8,836,315 +0 rolldown unmin 15,533,924 -> 15,530,264 -3,660 (-0.024%) rolldown min 9,036,480 -> 9,031,430 -5,050 (-0.056%)
# Conflicts: # pnpm-lock.yaml
# Conflicts: # package.json # pnpm-lock.yaml
lcottercertinia
approved these changes
Jul 30, 2026
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.
rolldown1.1.5 →^1.2.1, and the exact pin becomes a caret range.The pin dated from the pre-1.0 period. Now that v1 is stable there is no reason to hold
rolldown at an exact version while every other build dependency tracks a caret.
Kept out of the grouped dev-dependency PR (#880) on purpose: rolldown is a build tool
mid-consolidation, so a regression here needs to be revertable on its own.
Breaking changes
None documented.
experimental.lazyBarrel— the one behaviour change worth checking — wasalready defaulted off in 1.1.4.
@rolldown/plugin-node-polyfillsis already^1.0.3andneeds no change.
Verification
All four build variants built clean (
rollup×rolldown, minified × unminified). Therollup outputs are byte-identical, confirming the change is contained to the rolldown path;
the rolldown outputs shrink marginally:
Totals are the summed
.js+.cssbytes acrosslana/outandlog-viewer/out. Per-chunkthe only growth is the rolldown runtime shim (+38 bytes unmin / +22 min); everything else is
flat or smaller.
pnpm lint✅pnpm test✅ 80 suites / 1186 testsNew capabilities, not adopted here
1.2.x adds dev-mode HMR with per-client patch maps, a
hotUpdatehook, andfull-reload-on-tsconfig-change. That is a genuine candidate for the
pnpm watchwebviewloop, but it is feature work rather than a dependency bump — noted as a follow-up.
Also new and currently unused: the
resolveFileUrlhook,import.meta.ROLLDOWN_FILE_URL_*,sourcemapFileNames, and--configLoader=native.