-
Notifications
You must be signed in to change notification settings - Fork 33
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
importer never called #16
Comments
To test this, simply add the following to the importer(id, parentId, done) {
console.error('In importer', id)
// ...
} You won't see |
As mentioned in maoberlehner/node-sass-magic-importer#191, that is likely due to the |
What I mean is that postcss-sass 's importer is never called. Clone this repo, add a log statement inside postcss-sass importer and run the tests. You won't see the log statement. |
Actually, it seems the importer is called only when |
AFAIK, this is by design, actually. I think you should find another way to build the dependency graph. |
@matthieusieben I forked the library and have a PR, why don't you checkout my version and see if it works for you? I think it solves your problem as I had a similar issue. |
Closing as this is working as the |
It seems there is an issue with
sass
as theimporter()
function never gets called. Switching back tonode-sass
fixes the issue.The text was updated successfully, but these errors were encountered: