diff options
author | 2023-05-01 12:04:34 -0700 | |
---|---|---|
committer | 2023-05-01 12:04:34 -0700 | |
commit | 07048661f3537956b7b882c6efcf7571b11c1fab (patch) | |
tree | 3248f3fe407c5119f7c740b23764d6add9eed25a /src/bundler/bundle_v2.zig | |
parent | c2a223802b5a20a1f68c10d1f66797ba620e470c (diff) | |
download | bun-07048661f3537956b7b882c6efcf7571b11c1fab.tar.gz bun-07048661f3537956b7b882c6efcf7571b11c1fab.tar.zst bun-07048661f3537956b7b882c6efcf7571b11c1fab.zip |
include `first_name_offset` in source map bufferdylan/source-map-names-property
Diffstat (limited to 'src/bundler/bundle_v2.zig')
-rw-r--r-- | src/bundler/bundle_v2.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bundler/bundle_v2.zig b/src/bundler/bundle_v2.zig index c1dafc0ff..f3a9fdca6 100644 --- a/src/bundler/bundle_v2.zig +++ b/src/bundler/bundle_v2.zig @@ -6303,7 +6303,7 @@ const LinkerContext = struct { start_state.generated_column += prev_column_offset; } - try sourcemap.appendSourceMapChunk(&j, worker.allocator, prev_end_state, start_state, chunk.buffer.list.items); + try sourcemap.appendSourceMapChunk(&j, c.allocator, prev_end_state, start_state, chunk.buffer); prev_end_state = chunk.end_state; prev_end_state.source_index = source_index; |