angular-ivy

Library build fails with Angular 9

て烟熏妆下的殇ゞ 提交于 2020-04-13 06:34:13
问题 I am trying to migrate this library https://github.com/flauc/angular2-notifications from Angular 2+ to Angular 9. The original error was about the ModuleWithProviders that has become a generic type, so I fixed it. I also had an error described here https://github.com/angular/angular/issues/32352 which i fixed with require('@angular/compiler-cli'); and now I'm facing another error: ../node_modules/@angular/common/common.d.ts:115:22 - error NG6002: Appears in the NgModule.imports of

downsides of using Ivy in Angular?

家住魔仙堡 提交于 2019-12-13 11:24:18
问题 Everyone is talking about Ivy for Angular compilation. All I have heard is good things about it. Are there any downsides? like something I should be aware of before using it? 回答1: https://is-angular-ivy-ready.firebaseapp.com/#/status It is still a beta product, it will be ready soon. You can try it but it is not recommended for production just yet. 回答2: Bundle sizes may be larger than without Ivy and strict template type checking may give you some problems. Those issues should be resolved in