Closed TheSeally closed 3 years ago
Looks good, thanks for contributing! It will take a few days until I can push out a new version as I'm busy with exams ATM and I'd like to add at least one test around nesting.
Nvm the wait, I went ahead an published a new version 1.11.0
with the fix 🚀
Thanks guys !
I jumped the gun on this one 😞 and didn't realise it was a breaking change (see #94). I'll do a full upgrade of the plugin to support PostCSS 8 in #95 and release it as v2.0.0
Since
postcss-nested
moved to visitor API (in version 5.0.2) there is a problem with correctness of processing nested rules using this plugin. This problem discussed in more details in https://github.com/postcss/postcss/issues/1611#issue-934800901So I tried to fix it by moving your plugin to visitor API too and this fixed problem. All test in repo was passed but maybe you have additional checks