caa4666335
Currently when `ɵɵtemplate` and `ɵɵelement` instructions are generated by compiler, all static attributes are duplicated for both instructions. As a part of this duplication, i18n translation blocks for static i18n attributes are generated twice as well, causing duplicate entries in extracted translation files (when Ivy extraction mechanisms are used). This commit fixes this issue by introducing a cache for i18n translation blocks (for static attributes only). Also this commit further aligns `ɵɵtemplate` and `ɵɵelement` instruction attributes, which should help implement more effective attributes deduplication logic. Closes #39942. PR Close #40077 |
||
---|---|---|
.. | ||
integrationtest | ||
linker | ||
ngcc | ||
src | ||
test | ||
BUILD.bazel | ||
index.ts | ||
package.json | ||
tsconfig-build.json | ||
tsconfig.json |