Ionic Serve + Lazy Loading Build Time Speedup?


#1

So I made a post last week about the great improvement of app launch time after implementing lazy loading, but the big tradeoff for me seems to be that running ionic serve it takes around 3-4 minutes for the webpack to finish, which means that I find myself saving and getting real time feedback of my changes much less often.

Is there any advice for speeding up this build time on my lazy loaded project and, if not, is there any plan to address this issue in the future?


#2

To be honest, I wish I could come to 3-4 minutes like you do. Might I ask if you have many providers/directives, etc?
My initial build time for ionic server is 12-15 minutes and build --prod is 35-45 minutes.

I really wish I could do something about that.