-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
v3.4.14 not resolve relative @import from stdin #1745
Comments
I can also confirm relative @import's are broken when piping into |
This is, more or less, intended. In 3.4, we stopped including the working directory on the load path by default because it didn't make sense that I didn't think there was going to be any executable behavior that would be affected by that change, but it looks like you found a place. If you think about it, the new behavior does make sense: the "file" with the That said, this is a breaking change, which we shouldn't make in a patch version. I'll update it to print a warning for now. |
I want to keep this open to track the eventual removal of support for it. |
This problem is also happening in v 3.4.16. I reverted back to 3.4.13 where it didn't have this problem for me. |
@mscarchilli It looks like my fix only worked when A way better solution that reverting is to explicitly pass |
@nex3 Ah ha! I added the loadPath to my grunt-contrib-sass task of '.' and that fixes that problem for me. Thank you. |
These were only working with an explicit --stdin, but they should work for all stdin input. See #1745
These were only working with an explicit --stdin, but they should work for all stdin input. See #1745
I'm moving this issue to the new Ruby Sass repository because it's specific to Ruby Sass's implementation. |
I use sass in python under flask-assets (webassets)...
i have @import directive with relative import file in my theme.scss
i.e.
@import 'btn-o';
flask-assets over webassets run sass with following parameters
when i'm using sass 3.4.13 evething work OK,
but when i'm use sass 3.4.14, i have error
The text was updated successfully, but these errors were encountered: