Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): force linker sourceMapping opti…
Browse files Browse the repository at this point in the history
…on to false.

This is an interim solution until angular/angular#42769 is fixed.

Closes #21271

(cherry picked from commit 0776370)
  • Loading branch information
alan-agius4 authored and clydin committed Jul 6, 2021
1 parent 83bb101 commit 159dc5f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ export default function (api: unknown, options: ApplicationPresetOptions) {
plugins.push(
createEs2015LinkerPlugin({
linkerJitMode: options.angularLinker.jitMode,
// This is a workaround until https://github.com/angular/angular/issues/42769 is fixed.
sourceMapping: false,
logger: createNgtscLogger(options.diagnosticReporter),
fileSystem: {
resolve: path.resolve,
Expand Down

0 comments on commit 159dc5f

Please sign in to comment.