Skip to content

Conversation

@thecrypticace
Copy link
Contributor

Right now our CSS AST doesn't differentiate at-rules with an empty body and at-rules that have no body at all.

This is normally not a problem however for CSS mixins @apply --foo; and @apply --foo {}; mean different things — this requires us to be able to differentiate them. We'll be changing this in Tailwind CSS itself at some point so I'm changing this here to be forward compatible with those changes.

How this prints will be dependent on Tailwind CSS version. Since we don’t know what version that is yet we’ll set up a simple toggle that we can flip after (eventually) threading version information through.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants