Open YurySolovyov opened 3 years ago
This is the standard for CSS modules, but if you want to, create a PR with a custom option. Just make sure the default one is .module
@martonlederer not all apps use this standard, so even though this is the standard I don't think it hurts to make it configurable. Does it?
As I said, I have no problems with making it configurable
Just make sure the default one is .module
@martonlederer sorry my bad I did read your message too quickly. Here is a PR for it #34
Right now there is no way to control how the plugin decides if a file should be treated as a module, cause regexp for that is hard-coded as
/\.module/
. If I want to use any of my css/sass files as a module, I have to name them all as*.module.css
. Do you think we can make this configurable?