npm rolldown 1.0.0-beta.53
v1.0.0-beta.53

latest releases: 1.0.0-rc.9, 1.0.0-rc.8, 1.0.0-rc.7...
3 months ago

[1.0.0-beta.53] - 2025-12-03

๐Ÿ’ฅ Breaking Changes

  • Drop i686-pc-windows-msvc target support

๐Ÿš€ Chunk Merging Optimization

  • Rolldown now automatically merges shared chunks when entries import each other (when preserveEntrySignature is not strict)
Before:
entry.js   โ†’ imports โ†’ shared.js (common chunk)
entry2.js  โ†’ imports โ†’ shared.js
Output: 3 chunks (entry.js, entry2.js, shared.js)

After:
entry.js   โ†’ contains shared code
entry2.js  โ†’ imports โ†’ entry.js
Output: 2 chunks (entry.js, entry2.js)

๐Ÿ’ฅ BREAKING CHANGES

๐Ÿš€ Features

  • rolldown_plugin_vite_manifest: pass normalized options to isLegacy callback (#7321) by @shulaoda
  • plugin/vite-resolve: add disableCache option (#6763) by @sapphi-red
  • rolldown: export createTokioRuntime for tsdown (#7264) by @shulaoda
  • rolldown_plugin_vite_html: sync moduleSideEffects for already loaded modules (#7254) by @shulaoda
  • rolldown_plugin_vite_html: load module scripts with side effects to prevent tree-shaking (#7244) by @shulaoda
  • rolldown_plugin_vite_css_post: implement cssScopeTo for scoped CSS tree-shaking (#7240) by @shulaoda

๐Ÿ› Bug Fixes

๐Ÿšœ Refactor

๐Ÿ“š Documentation

  • add warning to experimental.resolveNewUrlToAsset about JS/TS files (#7300) by @Copilot
  • add sequential hook execution difference in plugin-api.md (#7308) by @Copilot
  • add migration example from onwarn to onLog (#7299) by @Copilot
  • add migration example for manualChunks to advancedChunks (#7298) by @Copilot
  • deps: bump vitepress to fix build (#7307) by @sapphi-red
  • examples & text for experimental.resolveNewUrlToAsset (#7259) by @TheAlexLichter

โšก Performance

  • rolldown_plugin_vite_css_post: lazily load cssScopeTo from JS module options (#7253) by @shulaoda
  • rolldown_plugin_vite_css_post: avoid unnecessary string clones in resolve_asset_urls_in_css (#7250) by @shulaoda

๐Ÿงช Testing

โš™๏ธ Miscellaneous Tasks

โค๏ธ New Contributors

Co-authored-by: shulaoda 165626830+shulaoda@users.noreply.github.com

Don't miss a new rolldown release

NewReleases is sending notifications on new releases.