mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
1cba5d42d1
Previously, resource paths beginning with '/' (aka "rooted" paths, which are not actually absolute filesystem paths, but are relative to the TypeScript project root directory) were not handled correctly. The leading '/' was stripped and the path was resolved as if it was relative, but with no containing file for context. This led to resources in different rootDirs not being found. Instead, such rooted paths are now resolved without TypeScript's help, by checking each root directory. A test is added to this effect. PR Close #31511