angular-webpack-plugin
angular-webpack-plugin copied to clipboard
Ignore module name prefix
Quite often, module names have a vendor prefix which doesn't relate to the filesystem directly, but could be aliased to a certain directory.
e.g. ngResource could alias the "ng" part to "lib/angular-"
Can't test it because tests are failing :) but ... it works
This wasn't meant to be just the "ng" prefix, but any prefix. At the moment, I'm leaning toward not including this feature as the rules for mapping names to files is getting very complex already.
I think that the problem has several other roots - the original curvature of naming units in angular. Instead of calling the modules they use sophisticated forms ngroute / sanitize...