Skip to content

Commit 0776370

Browse files
alan-agius4clydin
authored andcommitted
fix(@angular-devkit/build-angular): force linker sourceMapping option to false.
This is an interim solution until angular/angular#42769 is fixed. Closes #21271
1 parent bacecf4 commit 0776370

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/angular_devkit/build_angular/src/babel/presets/application.ts

+2
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ export default function (api: unknown, options: ApplicationPresetOptions) {
137137
plugins.push(
138138
createEs2015LinkerPlugin({
139139
linkerJitMode: options.angularLinker.jitMode,
140+
// This is a workaround until https://github.com/angular/angular/issues/42769 is fixed.
141+
sourceMapping: false,
140142
logger: createNgtscLogger(options.diagnosticReporter),
141143
fileSystem: {
142144
resolve: path.resolve,

0 commit comments

Comments
 (0)