angular/packages/compiler-cli/ngcc/src
Pete Bacon Darwin 380de1e7b4 fix(ngcc): use path-mappings from tsconfig in dependency resolution (#36180)
When computing the dependencies between packages which are not in
node_modules, we may need to rely upon path-mappings to find the path
to the imported entry-point.

This commit allows ngcc to use the path-mappings from a tsconfig
file to find dependencies. By default any tsconfig.json file in the directory
above the `basePath` is loaded but it is possible to use a path to a
specific file by providing the `tsConfigPath` property to mainNgcc,
or to turn off loading any tsconfig file by setting `tsConfigPath` to `null`.
At the command line this is controlled via the `--tsconfig` option.

Fixes #36119

PR Close #36180
2020-03-24 10:16:12 -07:00
..
analysis fix(ngcc): do not attempt compilation when analysis fails (#34889) 2020-01-23 14:47:03 -08:00
dependencies fix(ngcc): allow deep-import warnings to be ignored (#35683) 2020-02-27 10:48:48 -08:00
entry_point_finder perf(ngcc): use the EntryPointManifest in DirectoryWalkerEntryPointFinder (#35931) 2020-03-11 15:01:59 -07:00
execution fix(ngcc): do not crash on entry-point that fails to compile (#36083) 2020-03-18 15:56:21 -07:00
host fix(ngcc): consistently delegate to TypeScript host for typing files (#36089) 2020-03-17 13:34:04 -07:00
locking refactor(ngcc): remove unused LockFileWithSignalHandlers (#35938) 2020-03-12 09:46:18 -07:00
logging refactor(ngcc): expose logging level on the logger (#35861) 2020-03-05 18:17:15 -05:00
migrations fix(ngcc): do not attempt compilation when analysis fails (#34889) 2020-01-23 14:47:03 -08:00
packages fix(ngcc): consistently delegate to TypeScript host for typing files (#36089) 2020-03-17 13:34:04 -07:00
rendering refactor(ngcc): guard against a crash if source-map flattening fails (#35718) 2020-02-27 16:09:37 -05:00
sourcemaps perf(ngcc): store the position of SegmentMarkers to avoid unnecessary computation (#36027) 2020-03-13 08:00:29 -07:00
writing fix(ngcc): do not crash on overlapping entry-points (#36083) 2020-03-18 15:56:21 -07:00
constants.ts refactor(ivy): move ngcc into a higher level folder (#29092) 2019-03-20 14:45:54 -04:00
main.ts fix(ngcc): use path-mappings from tsconfig in dependency resolution (#36180) 2020-03-24 10:16:12 -07:00
utils.ts fix(ngcc): correctly detect emitted TS helpers in ES5 (#35191) 2020-02-21 09:06:46 -08:00