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 |
||
|---|---|---|
| .. | ||
| api.ts | ||
| compiler_host.ts | ||
| entry_points.ts | ||
| inline_resources.ts | ||
| lower_expressions.ts | ||
| metadata_cache.ts | ||
| metadata_reader.ts | ||
| node_emitter.ts | ||
| node_emitter_transform.ts | ||
| program.ts | ||
| r3_metadata_transform.ts | ||
| r3_transform.ts | ||
| util.ts | ||