Skip to content
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

Support include paths #23

Open
voxpelli opened this issue Aug 9, 2016 · 0 comments
Open

Support include paths #23

voxpelli opened this issue Aug 9, 2016 · 0 comments

Comments

@voxpelli
Copy link
Contributor

voxpelli commented Aug 9, 2016

When using include paths in combination with this importer the include paths are simply ignored.

When looking into how include paths could be supported I ran into the same issue as mentioned in #13: That one then would also have to add logic that looks for all valid variations of a Sass file to be able to step through each and every include path as well as the local path to figure out if a file is available or not.

Solving this would involve looking for these file names:

  • name.scss
  • name.sass
  • _name.scss
  • _name.sass

And doing so first locally and then on each and every include path until one either finds a file or finds no file.

Reference in Sass docs: http://sass-lang.com/documentation/file.SASS_REFERENCE.html#import

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant