mirror of
https://github.com/angular/angular.git
synced 2026-11-23 15:07:51 -05:00
The compiler and its file system implementation expects `fs.exists` to return `true` even for directories. This caused issues with the TSConfig resolution as `/` was looked up. We fix this by making use of `stat` which is equally expensive to `tree.exists`. The devkit tree's don't expose directory existance checks out of the box. Fixes #57887. PR Close #57897