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
  • Loading branch information
alan-agius4 authored and clydin committed Jul 6, 2021
1 parent bacecf4 commit 0776370
Showing 1 changed file with 2 additions and 0 deletions.
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 0776370

Please sign in to comment.