Closed spacedawwwg closed 3 years ago
This seems to work fine with postcss@7.0.35
, postcss-nested@4.2.3
and postcss-mixins@6.2.3
Here is an issue where we discussed the problem https://github.com/postcss/postcss-mixins/issues/110
We need to update postcss-nested
to use visitor API. Sorry, I do not have time right now. Will be glad for PR.
Here is an issue where we discussed the problem #101 (comment)
We need to update
postcss-nested
to use visitor API. Sorry, I do not have time right now. Will be glad for PR.
@ai Happy to take a look. Not written a postcss plugin before - any chance of being pointed in the right direction of this visitor api?
To solve this issue we need to replace Once
in postcss-nested
to Rule
/AtRule
according to Step 3 in Plugin Migration guide
Yeah, and to rewrite the functions being used in postcss-nested
, I started a bit in the other open issue (perhaps we can close that one / merge it with this one).
@spacedawwwg I provided a patch diff to help get started:
https://github.com/postcss/postcss-nested/issues/81#issuecomment-714028404
Fixed ec804d1.
The fix was released in 5.0.2.
Sorry for long delay, but it is hard to work on big ecosystem without proper fundings. If you want to fix the source of the problem talk with manager about sponsoring open source dependencies (here is PostCSS OpenCollective).
Using:
postcss@8.1.1
,postcss-nested@5.0.1
andpostcss-mixins@7.0.1
postcss.config.js
input.css
output.css
expected.css