Hi,
I am trying to use this module to lazy load my angular modules. It works very well apart from one problem - I have manual bootstrap of the projects made like that:
(the above code works like that: if appDev module exists it means that it's development environment and it should boostrap this module, but if there is no appDev module, then it means that it's production environemnt and it should bootstrap app with app module)
Because ocLazyLoad overwrites bootstrap, it adds the appDev module to modulesToLoad array, and then in the catch it tries to load both modules. As far as I can see, there is no public method do clear modulesToLoad array. Or did I miss something?
Hi, I am trying to use this module to lazy load my angular modules. It works very well apart from one problem - I have manual bootstrap of the projects made like that:
(the above code works like that: if appDev module exists it means that it's development environment and it should boostrap this module, but if there is no appDev module, then it means that it's production environemnt and it should bootstrap app with app module) Because ocLazyLoad overwrites bootstrap, it adds the appDev module to modulesToLoad array, and then in the catch it tries to load both modules. As far as I can see, there is no public method do clear modulesToLoad array. Or did I miss something?