Closed denysSlobodianykAVA closed 2 years ago
It works fine for me. If you still have an issue, feel free to reopen it.
@NetanelBasal hi, yes it still doesn't work for me (in - - prod build) . Smth went strange. Can it be, because of Angular 8 and not using Ivy?
Sounds weird. Why you're still on v8?
Yea, I know). I am using 'set' on ContentChildren <Directive>
, and it does not work fine on Angular 9, if I am changing count of templates with this directive in runtime. That is why). But someday soon I will update ng and hope not have issue with icons
I'm submitting a...
Current behavior
No icons inside in production build
Expected behavior
Icons exist inside in production build
Minimal reproduction of the problem with instructions
Install Angular 8.2.14, ngneat svg-icon 3.2.0.
run locally with aot: true (inside angular.json: architect -> build -> options -> aot: true) , or build --prod --aot="true")
when aot=true - no icon
when aot=false - icon exist
Tried to reproduce the code in stackblitz. But here somehow it works ( https://stackblitz.com/edit/angular-ivy-d2mmak?file=src%2Fapp%2Fapp.component.html
What is the motivation / use case for changing the behavior?
Fix issues with build.
Environment