mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Closure has a transformation which turns: Service.ngInjectableDef = ...; into: Service$ngInjectableDef = ...; This transformation obviously breaks Ivy in a major way. The solution is to annotate the fields as @nocollapse. However, Typescript appears to ignore synthetic comments added to a node during a transformation, so the "right" way to add these comments doesn't work. As an interim measure, a post-processing step just before the compiled JS is written to disk appends the correct comments with a regular expression. PR Close #22691 |
||
|---|---|---|
| .. | ||
| diagnostics | ||
| metadata | ||
| transformers | ||
| extract_i18n.ts | ||
| language_services.ts | ||
| main.ts | ||
| ngtools_api.ts | ||
| ngtools_api2.ts | ||
| perform_compile.ts | ||
| perform_watch.ts | ||
| version.ts | ||