Use PostCSS 8 events
ai opened this issue · 7 comments
Using the Once
event is not a good practice. postcss-custom-media
will not see changes made by other plugins (for instance, by postcss-mixins
).
Moving to the AtRule
event will improve other plugins' support.
I put in a PR for this here: #66
@jonathantneal looks like #66 is already merged. Would it be possible to mark a new release containing that change to resolve this issue?
After updating to postcss 8, postcss-custom-media stopped working together with postcss-each and I assume it could be related to this issue.
@jonathantneal Since a solution for it has been already merged – is there a chance we can have a patch release with it?
@ai would it be possible to have the fix released by another member of PostCSS instead of being blocked by one?
@sevilyilmaz I can try to release if we have PR
Is the package getting a bump?