mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ade6da95e4
The resource loader uses TypeScript's module resolution system to determine at which locations it needs to look for a resource file. A marker string is used to force the module resolution to fail, such that all failed lookup locations can then be considered for actual resource resolution. Any filesystem requests targeting files/directories that contain the marker are known not to exist, so no filesystem request needs to be done at all. PR Close #39604