-
Notifications
You must be signed in to change notification settings - Fork 358
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
sass importer api failed in latest version #1764
Comments
Actually, sass >= v1.38.0, nest importer failed. |
It looks like your reproduction repository either doesn't exist or is marked as private. |
Oh, Sorry, I made a mistake aha. My reproduction repository is marked as public now. |
I'm not sure why this was working differently before, but the behavior in your reproduction case with the latest Sass version is correct. Relative loads from the filesystem always take precedence over importer loads in order to preserve users' ability to locally reason about how their local files will work even if they have extra importers installed. Node Sass didn't always respect this, but that was a bug. |
env
case 1 in sass@1.49.11
sass render option when
file
exists then theimporter
function did execute, node-sass success. I need to delete thefile
option to be successful.Awful, when I ran in sass@1.50.0 or the latest version, it did fail.
Above issues, node-sass can be executed.
case 2 nest importer in sass >= 1.37.5 failed
nest import:
when executing the success then console some log
But failed in sass >= 1.38.0:
nest import did not work in the
importer
API function.The text was updated successfully, but these errors were encountered: