-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(compiler-cli): reduce filesystem hits during resource resolution (…
…#39604) 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
- Loading branch information
Showing
1 changed file
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters