brandonroberts / angular-router-loader

A Webpack loader that enables string-based module loading with the Angular Router

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add ability to specify chunk name

bekos opened this issue · comments

Based on webpack's docs there is the ability to specify chunk's name on require.ensure.

require.ensure(dependencies: String[], callback: function(require), chunkName: String)

Can this lbrary's API be extended like this?

loadChildren: './lazy.module#LazyModule?sync=true&chunkName=lazy'

Thx for your effort 👍

Oops! Great and sorry for the noise :-)