-
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
tailwindcss/nesting used with postcss-nesting breaks some postcss plugins #7234
Comments
Could you provide a reproduction? It would help to see the versions of the plugins you have installed along with the whole of the setup. |
Here is a repro, hope it helps (text should turn red). All plugins are latest versions with tailwind (doesn't work) - https://stackblitz.com/edit/vitejs-vite-fv2tnq?file=style.pcss&terminal=dev |
Just to follow up here — I tracked down the issue last week and we are working with PostCSS on a fix. Thanks! |
|
The problem still exists. |
A solution refers to https://giters.com/tailwindlabs/tailwindcss/issues/3931
It must to wrap |
@JackieCheung The PR for this issue was merged on Feb 21. Tailwind v3.0.23 was released Feb 16. |
The problem still exists in v3.0.24 |
Could you open this as a separate issue please? |
What version of Tailwind CSS are you using?
v3.0.17
What build tool (or framework if it abstracts the build tool) are you using?
[email protected]
What version of Node.js are you using?
For example: v17.1.0
What operating system are you using?
MacOS
Describe your issue
tailwindcss/nesting
used withpostcss-nesting
breaks some postcss plugins. In this example vite configcssHasPseudo
is not working. Also another plugin that is not working ispostcss-mixins
The text was updated successfully, but these errors were encountered: