angular-docs-cn/packages/compiler-cli/ngcc/test/dependencies
JoostK b70746a113 fix(ivy): ngcc - prevent crash when analyzed target is ignored (#31872)
ngcc analyzes the dependency structure of the entrypoints it needs to
process, as the compilation of entrypoints is ordering sensitive: any
dependent upon entrypoint must be compiled before its dependees. As part
of the analysis of the dependency graph, it is detected when a
dependency of entrypoint is not installed, in which case that entrypoint
will be marked as ignored.

When a target entrypoint to compile is provided, it could occur that
given target is considered ignored because one of its dependencies might
be missing. This situation was not dealt with currently, instead
resulting in a crash of ngcc.

This commit prevents the crash by taking the above scenario into account.

PR Close #31872
2019-08-05 13:06:49 -07:00
..
commonjs_dependency_host_spec.ts fix(ivy): ngcc - resolve `main` property paths correctly (#31509) 2019-07-12 11:37:35 -04:00
dependency_resolver_spec.ts fix(ivy): ngcc - prevent crash when analyzed target is ignored (#31872) 2019-08-05 13:06:49 -07:00
esm_dependency_host_spec.ts fix(ivy): ngcc - resolve `main` property paths correctly (#31509) 2019-07-12 11:37:35 -04:00
module_resolver_spec.ts fix(ivy): ngcc - resolve path-mapped modules correctly (#31450) 2019-07-08 10:28:13 -07:00
umd_dependency_host_spec.ts fix(ivy): ngcc - resolve `main` property paths correctly (#31509) 2019-07-12 11:37:35 -04:00