-
-
Notifications
You must be signed in to change notification settings - Fork 597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
names in Module mode #70
Comments
Found the place it seemed logical to do this and made a PR ^^ Feel free to suggest an alternative - my problem is specific to css-loader, so perhaps updatign the loader-utils module isn't necessarily the right thing? Although I'm sure this would be useful for other things too. |
@haustraliaer - It looks like you fixed your own issue? If that is the case and this is no longer a problem, could you please close the issue? Thanks for the PR btw :) |
@haustraliaer if there should be any regressions please feel free to reopen, closing for now as it seems to be fixed 😛 |
Yep was sorted in webpack/loader-utils#27 - thanks, works a treat! |
The module mode local scope is amazing, but is there any way to name the classes other than picking up the file name of the import?
eg, given:
will output to:
... And so will every other module I have (sans the hash appened) becase I like to keep my component folders named and my filenames generic.
So the desired result given the folder/files above would be:
Edited: for clarity
The text was updated successfully, but these errors were encountered: