-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Selectors inside mixin do not work #133
Comments
Looks like a bug in Can you update all dependencies (inside dependencies tree) by calling We recently fixed very similar bug |
I tried yarn upgrade, but it did not change anything. I tried updating postcss-nested from 5.0.1 to 5.0.5 (and to 5.0.2), but that causes another kind of a problem:
I investigated this a bit, and seems like in postcss\lib\lazy-result.js, in getEvents function, some nodes are missing name or prop:
I logged nodes to console and the last one that was logged before the error occurred was a media query inside a selector.
Is this a bug too? |
Hard to say. Very strange behavior. I will have time to investigate it only on next week. Very likely it is related to postcss/postcss-nested#124 |
I updated postcss-nested to 5.0.6 - still doesn't work. |
Can you provide a link to reproduce? |
Hi! I am updating postcss-mixins from 6.2.3 to 8.1.0, and noticed that if mixin has a selector inside it, it wont work anymore.
This:
will become this:
which obviously wont work.
Is this a bug or something wrong with my config?
These are postcss packages in use (before updating):
The text was updated successfully, but these errors were encountered: