We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ea0383 commit d8cfe8bCopy full SHA for d8cfe8b
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