feat(bundler): Add --sourcemap=linked for //# sourceMappingURL comments (#11983)

Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
This commit is contained in:
dave caruso
2024-06-20 13:46:49 -07:00
committed by GitHub
parent dd22c71612
commit e58cf69f94
12 changed files with 149 additions and 39 deletions

View File

@@ -1904,7 +1904,7 @@ pub const DebugIDFormatter = struct {
// We fill the end of the id with "bun!bun!" hex encoded
var buf: [32]u8 = undefined;
const formatter = bun.fmt.hexIntUpper(self.id);
_ = std.fmt.bufPrint(&buf, "{}64756e2164756e21", .{formatter}) catch unreachable;
_ = std.fmt.bufPrint(&buf, "{}64756E2164756E21", .{formatter}) catch unreachable;
try writer.writeAll(&buf);
}
};