62e3f3279d
Currently if a component defines a template inline, but not through a string literal, the partial compilation references the template expression as is. This is problematic because the component declaration can no longer be processed by the linker later as there is no static interpretation. e.g. ```js const myTemplate = `...`; TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ version: "0.0.0-PLACEHOLDER", type: TestCmp, selector: "test-cmp", ngImport: i0, template: myTemplate, isInline: true }); ``` To fix this, we use the the resolved template in such cases so that the linker can process the template/component declaration as expected. PR Close #41583
Angular
The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.
Usage information and reference details can be found in Angular documentation.
License: MIT