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

...would change sass globbing library #54

Open
philippzentner opened this issue Jul 5, 2016 · 2 comments
Open

...would change sass globbing library #54

philippzentner opened this issue Jul 5, 2016 · 2 comments

Comments

@philippzentner
Copy link
Member

britco/node-sass-globbing seems not compatible with node-sass 3.8.6 - globbing does not work anymore.

Perhaps you could switch to another library:
https://www.npmjs.com/package/node-sass-glob-once
https://github.com/lucasmotta/sass-glob-importer

@niklaszantner niklaszantner self-assigned this Jul 8, 2016
@niklaszantner
Copy link

I just rechecked the functionality of sass-globbing with node-sass 3.8.0 (which seems to be the latest release to me?) and it looks like everything is working fine, stylewise.

We had an error, that the globbing was not working like 2 months ago and simply fixed it by changing

@import "app/components/**/*.scss";

to

@import "components/**/*.scss";

.. to use the relative path of the file the import statement is placed in, instead of the absolute path of the project (thanks to @felixsteghofer for finding fixing one!). Maybe that could help you?

@philippzentner
Copy link
Member Author

Thanks we already figured that out. In our case we had to replace "app" with "../"

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

2 participants