-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
How can I provide a custom module name based on the entry points provided?
Example:
entry: { 'foo' : projPath + '/foo.js', 'bar': projPath + '/bar.js }, ... { test: /\.html$/, use: [ { loader: 'ng-cache-loader', options: { //tried this syntax as well as ng-cache-loader?module=foo... module: 'test.[root]' } } ] }
I want to end up with two modules created where my templates will be associated to.
angular.module('foo').run( ... ); angular.module('bar').run( ... )
Is this possible with current existing functionality? Btw, I am also using webpack v4.20 and it seems like the custom module name function doesn't work.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels