25% smaller sourcemaps

This commit is contained in:
Jarred Sumner
2025-03-09 03:55:16 -07:00
parent aa2e109f5f
commit ac3da5b488
5 changed files with 36 additions and 15 deletions

View File

@@ -1226,7 +1226,7 @@ pub const Chunk = struct {
pub fn printSourceMapContents(
chunk: Chunk,
source: Logger.Source,
source: *const Logger.Source,
mutable: MutableString,
include_sources_contents: bool,
comptime ascii_only: bool,
@@ -1243,7 +1243,7 @@ pub const Chunk = struct {
pub fn printSourceMapContentsAtOffset(
chunk: Chunk,
source: Logger.Source,
source: *const Logger.Source,
mutable: MutableString,
include_sources_contents: bool,
offset: usize,