Skip to content

Commit 479be50

Browse files
authored
fix: Save results of rewriteSourcesHook (#390)
Co-authored-by: Anton Donskoy <a.donskoy@inostudio.com>
1 parent 2649976 commit 479be50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/bundler-plugin-core/src/debug-id-upload.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ async function prepareSourceMapForDebugIdUpload(
396396
}
397397

398398
if (map["sources"] && Array.isArray(map["sources"])) {
399-
map["sources"].map((source: string) => rewriteSourcesHook(source, map));
399+
map["sources"] = map["sources"].map((source: string) => rewriteSourcesHook(source, map));
400400
}
401401

402402
try {

0 commit comments

Comments
 (0)