mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 21:01:52 +00:00
feat: load sourcemaps at runtime when using a bun build --target=bun bundle (#10998)
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
This commit is contained in:
@@ -369,9 +369,7 @@ pub const ByteRangeMapping = struct {
|
||||
|
||||
var executable_lines: Bitset = Bitset{};
|
||||
var lines_which_have_executed: Bitset = Bitset{};
|
||||
const parsed_mappings_ = bun.JSC.VirtualMachine.get().source_mappings.get(
|
||||
source_url.slice(),
|
||||
);
|
||||
const parsed_mappings_ = bun.JSC.VirtualMachine.get().source_mappings.get(source_url.slice());
|
||||
|
||||
var functions = std.ArrayListUnmanaged(CodeCoverageReport.Block){};
|
||||
try functions.ensureTotalCapacityPrecise(allocator, function_blocks.len);
|
||||
|
||||
Reference in New Issue
Block a user