Closed MR62 closed 7 years ago
Rollup does not support code splitting needed for lazy loading. This repository will be updated in the future to include a build that does support lazyloading with AOT compile. I am tracking the progress here https://github.com/angular/closure-demo and https://github.com/mlaval/optimize-angular-app
It is possible with a package called Splittable
to go from AOT => Splittable => ClosureCompiler but this is largely hanging on the work in this Pull Release: https://github.com/cramforce/splittable/pull/47
Maybe in the future we will be able to go from AOT => ClosureCompiler
w/o an intermediary package. I think this is probably a priority for teams at Google to figure out since they are mandated to use ClosureCompiler.
Closing due to inactivity
Hi Does angular2-rollup support lazy loading?