Open pglazkov opened 7 years ago
This would be wonderful to have. @shlomiassaf Is this project still being supported?
@shaungrady As an alternative you might want to try angular-named-lazy-chunks-webpack-plugin - it automatically generates chunk names based on the module names, so you don't need to add any annotations in code.
Since version 2.4 Webpack supports annotating
import()
calls with the name of the chunk:This pull request adds the implementation of adding that annotation comment if the "chunkName" option is provided as part of the route, like so: