Angular 2 lazy loading modules using aot and another pipeline

I work in a large application, and we want to have lazyload modules to improve performance, but we want to use AOT (performance), and at the same time we want to support separate pipelines for deployment, only the module has changed if there is no dependency on another. We work in several groups focused on various modules.

After much research, I did not find any way to do this. Has anyone had the same problem?

Everything works with JIT, having different javascript files in separate pipelines, and we tried to compile everything in only one build process in AOT and we work, but we could not execute AOT and another pipeline at the same time.

+4
source share

Source: https://habr.com/ru/post/1685774/


All Articles