aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/modules/NodeModuleModule.cpp
diff options
context:
space:
mode:
authorGravatar Dylan Conway <35280289+dylan-conway@users.noreply.github.com> 2023-04-30 22:09:40 -0700
committerGravatar GitHub <noreply@github.com> 2023-04-30 22:09:40 -0700
commit0490bd3d2ee7b9b7fb2748be52dbbb6d49b21673 (patch)
tree52792ea88e4a132ee1d5094a38ea4fd6b28ce711 /src/bun.js/modules/NodeModuleModule.cpp
parent137dc6e19fedc31e32e25e1a8d7d04070f1a9a27 (diff)
downloadbun-0490bd3d2ee7b9b7fb2748be52dbbb6d49b21673.tar.gz
bun-0490bd3d2ee7b9b7fb2748be52dbbb6d49b21673.tar.zst
bun-0490bd3d2ee7b9b7fb2748be52dbbb6d49b21673.zip
Implement source maps (#2770)
* wip * Begin computing source map tables * source map progress * external source maps * fix merge * remove `@as` coercion * inline source maps and output source map shifts * fix `codeWithSourceMapShifts()` after merge * remove second call to `findReachableFiles()` * use `worker.allocator`, remove comment * don't reuse memory for source and sourceContents * don't reuse `quote_buf` * fix writing to stdout * Add comment * Don't include a sourcemap if the text was empty * Make the parser faster * +16% faster sourcemap generation @dylan-conway I'll need you to look this over to make sure I didn't mess anything up Though it currently doesn't generate the offsets in the right order... * 30% performance improvement to Bun.build() * Print `debugId` in source maps cc @mitsuhiko @notzeeg --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Diffstat (limited to 'src/bun.js/modules/NodeModuleModule.cpp')
0 files changed, 0 insertions, 0 deletions