I am migrating an AngularJS application to Angular 7 using the downgradeModule (described here: upgrade for performance). In the last part of that documentation it is stated that I need to import the NgModuleFactory of my AppModule when I want to use AOT. I am using the angular-cli for building the application. Is it possible to reference the ModuleFactory that is created in the angular-cli build and therefore turn on AOT for my hybrid app?
© 2022 - 2024 — McMap. All rights reserved.