angular-docs-cn/packages/compiler-cli/ngcc/src
JoostK f7471eea3c fix(ngcc): handle compilation diagnostics (#31996)
Previously, any diagnostics reported during the compilation of an
entry-point would not be shown to the user, but either be ignored or
cause a hard crash in case of a `FatalDiagnosticError`. This is
unfortunate, as such error instances contain information on which code
was responsible for producing the error, whereas only its error message
would not. Therefore, it was quite hard to determine where the error
originates from.

This commit introduces behavior to deal with error diagnostics in a more
graceful way. Such diagnostics will still cause the compilation to fail,
however the error message now contains formatted diagnostics.

Closes #31977
Resolves FW-1374

PR Close #31996
2019-08-29 12:38:02 -07:00
..
analysis fix(ngcc): handle compilation diagnostics (#31996) 2019-08-29 12:38:02 -07:00
dependencies fix(ngcc): handle deep imports that already have an extension (#32181) 2019-08-19 10:12:03 -07:00
entry_point_finder fix(ngcc): do not analyze dependencies for non Angular entry-points (#32303) 2019-08-26 10:08:44 -07:00
execution fix(ivy): ngcc - correctly update `package.json` when `createNewEntryPointFormats` is true (#32052) 2019-08-08 11:14:38 -07:00
host fix(ivy): ngcc should only index .d.ts exports within the package (#32129) 2019-08-15 14:46:00 -07:00
logging feat(compiler-cli): ngcc - make logging more configurable (#29591) 2019-04-01 11:53:28 -07:00
migrations fix(ivy): in ngcc, handle inline exports in commonjs code (#32129) 2019-08-15 14:45:59 -07:00
packages fix(ngcc): handle compilation diagnostics (#31996) 2019-08-29 12:38:02 -07:00
rendering fix(ivy): ngcc emits static fields before extra statements (#31933) 2019-08-01 10:45:36 -07:00
writing fix(ivy): ngcc - correctly update `package.json` when `createNewEntryPointFormats` is true (#32052) 2019-08-08 11:14:38 -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): handle compilation diagnostics (#31996) 2019-08-29 12:38:02 -07:00
utils.ts fix(ivy): ngcc - recognize suffixed tslib helpers (#31614) 2019-07-29 16:10:58 -07:00