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
You can do this in multiple ways depending on the use case the simplest case being to just return a string from the middleware, other cases involve observing the parent/sibling nodes and serialising output that you return based on that, others include mutating the AST directly... the default middleware /src/Middleware.js have examples.
Closing the issue: if possible we can continue this discussion on the Discussions section.
I have this CSS:
And want to replace the
@mixin container;
line with additional CSS. For example:My output should be
So in my middleware, I can check for the
@mixin
type:but how to replace the node with the above CSS?
thx
The text was updated successfully, but these errors were encountered: