mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
At the moment, paths stored in `maps` are not normalized and in Windows is causing files not to be found when enabling factory shimming.
For example, the map contents will be
```
Map {
'C:\\git\\cli-repos\\ng-factory-shims\\index.ngfactory.ts' => 'C:\\git\\cli-repos\\ng-factory-shims\\index.ts' }
```
However, ts compiler normalized the paths and is causing;
```
error TS6053: File 'C:/git/cli-repos/ng-factory-shims/index.ngfactory.ts' not found.
error TS6053: File 'C:/git/cli-repos/ng-factory-shims/index.ngsummary.ts' not found.
```
The changes normalized the paths that are stored within the factory and summary maps.
PR Close #28006
|
||
|---|---|---|
| .. | ||
| diagnostics | ||
| metadata | ||
| ngcc | ||
| ngtsc | ||
| transformers | ||
| extract_i18n.ts | ||
| language_services.ts | ||
| main.ts | ||
| ngtools_api.ts | ||
| ngtools_api2.ts | ||
| perform_compile.ts | ||
| perform_watch.ts | ||
| version.ts | ||