diff --git a/packages/angular_devkit/build_angular/src/utils/process-bundle.ts b/packages/angular_devkit/build_angular/src/utils/process-bundle.ts index 09a25e1facb6..d4c0e994f8b4 100644 --- a/packages/angular_devkit/build_angular/src/utils/process-bundle.ts +++ b/packages/angular_devkit/build_angular/src/utils/process-bundle.ts @@ -413,7 +413,7 @@ async function terserMangle( code, options.map, outputCode, - (minifyOutput.map as unknown) as RawSourceMap, + minifyOutput.map as unknown as RawSourceMap, options.filename || '0', code.length > FAST_SOURCEMAP_THRESHOLD, );