@rolldown/debug
1.3.3 · 18 Nov 2026MIT312.2k / weekRepositoryHomepagenpmAtom feed
1.3.3 is the newest release of 1.x.
In short
2 new3 faster22 fixed21 internal
Release note
Features
magic-string: Add a
hiresconstructor optioncjs: Provide
__dirnameand__filenameto CommonJS modules in Node ESM output
Bug Fixes
strict-execution-order: Place re-export targets that no consumer selects
sourcemap: Use the
mapa hook returns with the native MagicString- Removed
Drop no-op init calls from re-exports and imports
Detect
__esModuleset withObject.defineProperty(module.exports, ...)Hoist
varin top-level catch blocks of wrapped modulesDetect top-level
awaitin top-levelcatchblockssourcemap: Keep columns when a hook returns the native MagicString
Make a module without module syntax CommonJS when it is both imported and required
Drop references in dead branches inside live functions before chunk linking
Make cross-chunk export names independent of module load order
Don't treat new URL() references as execution dependencies
Stop the options passed to hooks from keeping a build's plugins alive
strict-execution-order: Run the declaring module of an inlined constant read through a kept barrel
Hoist
varin top-level for-in and for-of heads of wrapped modulesrollup-tests: Fail the test case on assertion error in
renderErrorPreserve rendering errors when
renderErrorfailsCount emitted chunks when rendering relative-path externals
Avoid panic on
{ b: [y = 1] }destructuring in a wrapped moduletreeshaking: tree-shake statements with
instanceofthat a constant makes purerolldown: Fail the build instead of hanging when a module task panics
rolldown: Don't panic in module tasks after the build is dropped
browser: Default
cwdto/
Performance
Trace sequential sourcemap tokens with a bounded cursor
Use raw tokens when collapsing sourcemaps
magic-string: Free the index table of a MagicString returned from transform
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.