deno
c873dcf1 - Merge branch 'main' into bartlomieju/refactor/rolldown-bundle

Commit
6 days ago
Merge branch 'main' into bartlomieju/refactor/rolldown-bundle Bring the rolldown bundler prototype up to date with main. The bundle tool diverged substantially on both sides: this branch replaced the esbuild backend with rolldown, while main kept iterating on the esbuild path (declaration emit, wasm instantiation, CSS module rendering, browser map handling, npm-snapshot bare specifier fallback, package.json sideEffects, the deno_print stdout migration, and the human_elapsed signature change). Conflicts resolved by keeping rolldown as the backend and porting main's feature work onto the rolldown plugin hooks: - resolve_id: pre/post external checks, native addon (.node) externals, sideEffects lookup mapped to HookSideEffects, browser-map-disabled sentinel, and the npm-snapshot bare specifier fallback. - load: browser-disabled empty module stub and wasm modules rendered via render_js_wasm_module instead of erroring. - apply_transform: parse CJS facades as JavaScript to avoid script-mode parse errors. - bundle_for_compile rewritten to consume rolldown's BundleOutput. - Cargo.lock reconciled to keep a single oxc_sourcemap version and pin laufey to 0.5.0 to match the checked-in laufey_sums.lock.
Author
Loading