angular-cn/packages/compiler-cli/ngcc/src
George Kalpakas aecf9de738 fix(ngcc): correctly identify relative Windows-style import paths (#36372)
Previously, `isRelativePath()` assumed paths are *nix-style. This caused
Windows-style paths (such as `C:\foo\some-package\some-file.js`) to not
be recognized as "relative" imports.

This commit fixes this by using the OS-agnostic `isRooted()` helper and
also accounting for both styles of path delimiters: `/` and `\`

PR Close #36372
2020-04-07 15:21:27 -07:00
..
analysis style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
dependencies style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
entry_point_finder style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
execution style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
host fix(ngcc): detect non-emitted, non-imported TypeScript helpers (#36418) 2020-04-07 10:19:22 -07:00
locking style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
logging style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
migrations style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
packages fix(ngcc): support ignoring deep-imports via package config (#36423) 2020-04-06 11:32:09 -07:00
rendering fix(ngcc): don't crash on cyclic source-map references (#36452) 2020-04-06 13:19:53 -07:00
sourcemaps fix(ngcc): don't crash on cyclic source-map references (#36452) 2020-04-06 13:19:53 -07:00
writing style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
constants.ts refactor(ivy): move ngcc into a higher level folder (#29092) 2019-03-20 14:45:54 -04:00
main.ts style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
utils.ts fix(ngcc): correctly identify relative Windows-style import paths (#36372) 2020-04-07 15:21:27 -07:00