-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.4.2 contains a breaking change related to @apply
#13433
Comments
Can you create a proper reproduction project on GitHub that I can check out? Prior to 3.4.2 we threw this error more often, not less often, so it should have already been giving you an error. I can't reproduce this myself if |
Here's a quick project I whipped together where it all seems to work — try running |
Woops, my bad. In checking our config I had spotted |
What version of Tailwind CSS are you using?
v3.4.2
What build tool (or framework if it abstracts the build tool) are you using?
postcss 8.4.38
What version of Node.js are you using?
For example: v20.11.1
What browser are you using?
N/A
What operating system are you using?
macOS, Linux
Reproduction URL
https://play.tailwindcss.com/1igX3RZ4zc?size=540x720&file=css
Describe your issue
CSS like this works just fine in version 3.4.1:
But starting in 3.4.2 the build step throws this error:
The error still happens even with the
tailwindcss/nesting
plugin configured.It looks like the new behavior was added here: #13325
It's unexpected for a breaking change like this to come through on a
patch
level version bump.Given that
tailwindcss/nesting
doesn't fix the issue, is there something else we should do to get past the failing build?The text was updated successfully, but these errors were encountered: