We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf41b66 commit e0d8916Copy full SHA for e0d8916
packages/angular_devkit/build_angular/src/webpack/configs/common.ts
@@ -386,7 +386,7 @@ export async function getCommonConfig(wco: WebpackConfigOptions): Promise<Config
386
supportedBrowsers: buildOptions.supportedBrowsers,
387
instrumentCode: codeCoverage
388
? {
389
- includedBasePath: sourceRoot,
+ includedBasePath: sourceRoot ?? projectRoot,
390
excludedPaths: getInstrumentationExcludedPaths(root, codeCoverageExclude),
391
}
392
: undefined,
0 commit comments