How to add lazy modules to the bundle with minimal configuration? For example, just add one angular-router-loader to use in “ionic serve” and “ionic build”.
What exactly do you want to do why?
I want to
loadChildren: ‘…/pages/menu/menu.module#MenuModule’
but getting
Error: Cannot find module ‘…/pages/menu/menu.module’
when running ionic serve with app scripts
I still have no idea what you are talking about.
Where do you want to do that why? I have no context at all to understand what you are doing.