Closed johnnybenson closed 5 years ago
Hey, thanks for writing this up. Support for this has been added to libsass- https://github.com/sass/libsass/commit/3af837c4e6053487186cfcf564a990ff11e4e356 - and it will be available in sassc-rails when the next version of libsass is released.
It appears that Sassc doesn't support directory imports.
I have my load_paths configured, it just looks like
Importer#imports
never looks for index files as a directory import.https://sass-lang.com/documentation/file.SASS_REFERENCE.html#index_files
Add support for directory imports
lib/sassc/rails/importer.rb#imports
Has anyone else encountered this issue?
Adding these lines seems to add support for importing a directory, I can open a pull request if this seems reasonable.
First, I wanted to make sure it's not configuration on my end that I'm missing.
This might be related / meaningful:
https://github.com/sass/sass/pull/2456/files