Skip to content

Commit

Permalink
fix: Save results of rewriteSourcesHook (#390)
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Donskoy <[email protected]>
  • Loading branch information
adonskoy and Anton Donskoy authored Aug 28, 2023
1 parent 2649976 commit 479be50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bundler-plugin-core/src/debug-id-upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ async function prepareSourceMapForDebugIdUpload(
}

if (map["sources"] && Array.isArray(map["sources"])) {
map["sources"].map((source: string) => rewriteSourcesHook(source, map));
map["sources"] = map["sources"].map((source: string) => rewriteSourcesHook(source, map));
}

try {
Expand Down

0 comments on commit 479be50

Please sign in to comment.