Angular 2 lazy loading with Webpack
David Den Toom

This seems really helpful, and really timely for something that came up recently for me.

I’m having issues getting it to work. I’m pretty new to webpack in general, so bear with me haha. Is this angular2 router loader actually the one responsible for breaking your module out into that separate chunked file, or is that set up somewhere else?

I’ve followed the steps here, but when I run webpack with debug on the angular2 router loader, it just replaces my loadChildren with a require call without aliasing it to a chunk.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.