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

Enabled multiple importers support #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marcofugaro
Copy link

This PR fixes this issue, and now you can use this importer with other importers too, like this:

importer: [globImporter(), moduleImporter()]

Based on the documentation of node sass

importer can be an array of functions, which will be called by LibSass in the order of their occurrence in array. If an importer does not want to handle a particular path, it should return null.

Note: I had to update to babel 6 to run the tests, on this branch the changes I made

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

Successfully merging this pull request may close these issues.

Add support for multiple importers
1 participant