fix(compiler): make .ngsummary.json
files idempotent (#21448)
Fixes: #21432 PR Close #21448
This commit is contained in:

committed by
Alex Eagle

parent
6a97b5b722
commit
a931a419fa
@ -488,6 +488,10 @@ export class TsCompilerAotCompilerTypeCheckHostAdapter implements ts.CompilerHos
|
||||
return assert(this.context.readFile(filePath));
|
||||
}
|
||||
|
||||
getOutputName(filePath: string): string {
|
||||
return path.relative(this.getCurrentDirectory(), filePath);
|
||||
}
|
||||
|
||||
private hasBundleIndex(filePath: string): boolean {
|
||||
const checkBundleIndex = (directory: string): boolean => {
|
||||
let result = this.flatModuleIndexCache.get(directory);
|
||||
|
Reference in New Issue
Block a user