mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
fix utf8 handling when importing json (#14168)
This commit is contained in:
@@ -999,7 +999,7 @@ pub const StandaloneModuleGraph = struct {
|
||||
bun.JSAst.Expr.Data.Store.reset();
|
||||
bun.JSAst.Stmt.Data.Store.reset();
|
||||
}
|
||||
var json = bun.JSON.ParseJSON(&json_src, &log, arena) catch
|
||||
var json = bun.JSON.ParseJSON(&json_src, &log, arena, false) catch
|
||||
return error.InvalidSourceMap;
|
||||
|
||||
const mappings_str = json.get("mappings") orelse
|
||||
|
||||
Reference in New Issue
Block a user