mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
06732606c9
The `skipTemplateCodegen`, `strictMetadataEmit` and `enableResourceInlining` options are specific to ViewEngine and have no effect when using the Ivy compiler. Since libraries can no longer be compiled using ViewEngine from Angular 13, this commit removes these options entirely. The `annotateForClosureCompiler` is also no longer recommended to use, as Closure Compiler is not supported outside of Bazel. Finally, the `fullTemplateTypeCheck` flag is changed into `strictTemplates` as the former flag is being deprecated. Enabling `strictTemplates` does result in more strict type-checking than with only `fullTemplateTypeCheck` enabled, but simply removing `fullTemplateTypeCheck` right away would result in less strict type-checking which is not desired. PR Close #43224