Skip to content

Commit 88737e3

Browse files
committedJul 6, 2021
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 c0acf74 commit 88737e3

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

Lines changed: 2 additions & 0 deletions
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)