Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Ignore module name prefix #3

Open
stackfull opened this issue Mar 15, 2014 · 3 comments
Open

Ignore module name prefix #3

stackfull opened this issue Mar 15, 2014 · 3 comments

Comments

@stackfull
Copy link
Owner

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-"

ColCh added a commit to ColCh/angular-webpack-plugin that referenced this issue Jul 26, 2014
@ColCh
Copy link

ColCh commented Jul 26, 2014

Can't test it because tests are failing :) but ... it works

@stackfull
Copy link
Owner Author

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.

@seth2810
Copy link

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...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants