Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): don't load an input sourcemap fro…
Browse files Browse the repository at this point in the history
…m file when using Babel

This ensures that vendor sourcemaps are not loaded from file when they have not been previously loaded via sourcemap-loader.

When vendor sourcemap is enabled, `inputSourceMap` is not needed, since the sourcemap is already available and the `sourceMappingURL` comment is removed from source.

(cherry picked from commit 9714aa9)
  • Loading branch information
alan-agius4 committed Mar 12, 2021
1 parent f6bca53 commit 33fd3ee
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export default custom<AngularCustomOptions>(() => {
compact: false,
cacheCompression: false,
sourceType: 'unambiguous',
inputSourceMap: false,
});

return {
Expand Down

0 comments on commit 33fd3ee

Please sign in to comment.