Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): avoid overwriting localize source…
Browse files Browse the repository at this point in the history
…maps
  • Loading branch information
clydin authored and mgechev committed Apr 6, 2020
1 parent d94d417 commit 10e054f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/angular_devkit/build_angular/src/browser/index.ts
Expand Up @@ -497,6 +497,9 @@ export function buildWebpackBrowser(
setLocale: result.name === mainChunkId,
});
processedFiles.add(result.original.filename);
if (result.original.map) {
processedFiles.add(result.original.map.filename);
}
}
if (result.downlevel) {
inlineActions.push({
Expand All @@ -511,6 +514,9 @@ export function buildWebpackBrowser(
setLocale: result.name === mainChunkId,
});
processedFiles.add(result.downlevel.filename);
if (result.downlevel.map) {
processedFiles.add(result.downlevel.map.filename);
}
}
}

Expand Down

0 comments on commit 10e054f

Please sign in to comment.