You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From your other posts you seem very busy atm, so please do ignore this request until you have time. I could help by making a PR for this if you like the idea.
Request
Right now the transform callback only receives strings as parameters. It would be useful if it at least also received the postcss root node to support more complex filtering.
Example use-case
I would use this for adding a prefix, but only on the condition that the root has no comment /* !allGlobal */ as it's first node. This is already possible, but requires having to parse the file again.
Hi there, thanks for this useful plugin!
From your other posts you seem very busy atm, so please do ignore this request until you have time. I could help by making a PR for this if you like the idea.
Request
Right now the
transform
callback only receives strings as parameters. It would be useful if it at least also received the postcss root node to support more complex filtering.Example use-case
I would use this for adding a prefix, but only on the condition that the root has no comment
/* !allGlobal */
as it's first node. This is already possible, but requires having to parse the file again.How it could work:
How I make this work now:
Thanks for your time. Good luck to you!
The text was updated successfully, but these errors were encountered: