-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Can we do folder name as part of the module name? As it is, this module is pretty much unusable for me, as we have instances of multiple HTML files with the same base name, no matter how much we try to avoid it. This will only increase as we make our app more complex, with multiple npm modules that may all fall under the same base Angular module.
There is probably a way we can avoid this issue, but wouldn't it be better to add the folder name as part of the module name in the first place? You can use things like the path
module and __dirname
/__filename
variables included with Browserify (and we could use them in this transform), that's what they are there for. I don't think they take away too much performance, at least when your app is complex enough to consider using them, but if so I suppose this would be a reason to not implement this feature.