angular-cn/packages/compiler-cli/ngcc/test/entry_point_finder
Pete Bacon Darwin 71b5970450 fix(ngcc): capture path-mapped entry-points that start with same string (#35592)
Previously if there were two path-mapped libraries that are in
different directories but the path of one started with same string
as the path of the other, we would incorrectly return the shorter
path - e.g. `dist/my-lib` and `dist/my-lib-second`. This was because
the list of `basePaths` was searched in ascending alphabetic order and
we were using `startsWith()` to match the path.

Now the `basePaths` are searched in reverse alphabetic order so the
longer path will be matched correctly.

// FW-1873

Fixes #35536

PR Close #35592
2020-02-24 09:11:43 -08:00
..
directory_walker_entry_point_finder_spec.ts fix(ngcc): capture path-mapped entry-points that start with same string (#35592) 2020-02-24 09:11:43 -08:00
targeted_entry_point_finder_spec.ts fix(ngcc): capture path-mapped entry-points that start with same string (#35592) 2020-02-24 09:11:43 -08:00