fix(compiler-cli): ensure LogicalFileSystem handles case-sensitivity (#36968)
The `LogicalFileSystem` was not taking into account the case-sensitivity of the file-system when caching logical file paths. PR Close #36968
This commit is contained in:

committed by
Alex Rickabaugh

parent
4abd60361a
commit
65337fb8b8
@ -75,7 +75,8 @@ export class DecorationAnalyzer {
|
||||
// TODO(alxhub): there's no reason why ngcc needs the "logical file system" logic here, as ngcc
|
||||
// projects only ever have one rootDir. Instead, ngcc should just switch its emitted import
|
||||
// based on whether a bestGuessOwningModule is present in the Reference.
|
||||
new LogicalProjectStrategy(this.reflectionHost, new LogicalFileSystem(this.rootDirs)),
|
||||
new LogicalProjectStrategy(
|
||||
this.reflectionHost, new LogicalFileSystem(this.rootDirs, this.host)),
|
||||
]);
|
||||
aliasingHost = this.bundle.entryPoint.generateDeepReexports ?
|
||||
new PrivateExportAliasingHost(this.reflectionHost) :
|
||||
|
Reference in New Issue
Block a user