Skip to content

Commit 479be50

Browse files
adonskoyAnton Donskoy
andauthored
fix: Save results of rewriteSourcesHook (#390)
Co-authored-by: Anton Donskoy <[email protected]>
1 parent 2649976 commit 479be50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)