Rolldown 1.2.2: Inlining gemeinsamer Abhängigkeiten, viele Fehlerbehebungen
Rolldown 1.2.2 unterstützt das Inlining gemeinsamer Abhängigkeiten in dynamischen Entries, misst vom Nutzer konfigurierte Options-Callbacks in den Timings und behebt zahlreiche Fehler im Dev-Modus, bei zirkulären Star-Re-Exports, Plugin-Metadaten und im Browser-Build.
🚀 Features
- code-splitting: support inlining of shared deps in dynamic entries (#10526) by @nicolo-ribaudo
- plugin: time the user callbacks configured on the options (#10509) by @IWANABETHATGUY
🐛 Bug Fixes
- dev: force
cleanDiroff in dev mode (#10579) by @shulaoda - dev: keep
?rolldown-lazyproxy ids out of userresolveIdhooks (#10580) by @btea - initialize re-exported wrapped ESM modules at the entry chunk (#10567) by @hyfdev
- link: resolve circular star reexports as null (#10445) by @Nic-Polumeyv
- transform: transformer gate skips newer syntax that oxc can lower (#10564) by @sekyungk
- code-splitting: materialize consumer-local barrel routing when the order-wrap plan is empty (#10544) by @hyfdev
- plugin: measure plugin hooks in JavaScript, report them from Rust (#10508) by @IWANABETHATGUY
- plugin: include external dynamic imports in chunk metadata (#10557) by @hyfdev
- plugin: report plugin timings after closeBundle has run (#10521) by @IWANABETHATGUY
- browser: avoid using node builtin modules (#10542) by @sapphi-red
🚜 Refactor
- plugin: give the build's own clocks their own type (#10520) by @shulaoda
📚 Documentation
- correct stale
buildStartcomment inScanStageCache::merge(#10577) by @shulaoda - update outdated pluginutils references (#10574) by @dogledogle
⚡ Performance
- external: drop the runtime import from chunks that never wrap (#10517) by @IWANABETHATGUY …