-
-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support for globbed imports? #151
Comments
Ah, after a little more digging I found this: https://github.com/Aintaer/import-glob-loader Seems to work nicely but only for globbed imports that are relative to current path, ie. |
import-glob-loader seems to have a couple of drawbacks.
So perhaps sass-loader could support Sass-specific globbing a bit better than import-glob-loader. I found that "../foo/*/" worked with import-glob-loader, by the way. |
This should be reported to the import-glob-loader
Yes, I think, it is a good thing to add the file extension explicitly.
I think the import-glob-loader is doing a pretty decent job here. I don't want to add this feature to the sass-loader because the import mechanism is already pretty complicated. Once we started to implement it here, we are responsible to maintain that feature. |
Maybe this is just unclear in the instructions, but it seems that
sass-loader
does not support globbed imports, like `@import “pages/*/”? i keep seeing the error:The text was updated successfully, but these errors were encountered: