pub fn removeCommentsAlloc(allocator: Allocator, source: []const u8, source_mappings: ?*SourceMappings) ![]u8
pub fn removeCommentsAlloc(allocator: Allocator, source: []const u8, source_mappings: ?*SourceMappings) ![]u8 { const buf = try allocator.alloc(u8, source.len); errdefer allocator.free(buf); const result = try removeComments(source, buf, source_mappings); return allocator.realloc(buf, result.len); }