-
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
@media and postcss-nested no longer work in 3.0.24 #8260
Comments
Hey! A PostCSS bug around this was fixed in 8.4.13. Are you certain you're using 8.4.13? I just tested your code on a brand new project and it's working as expected. Can you provide a reproduction repo by chance? |
@thecrypticace I'm using [email protected]. |
Ah okay so sorry. I know what's going on here. I was compiling using the PostCSS CLI. In this case the issue is because we have a built-in version of postcss that's being used and it does not pick up the local postcss install when using the tailwindcss CLI. In the short term you can use the insiders build which builds in the fixed version of postcss: We're discussing this internally to figure out the best solution here around postcss updates in the CLI — I'll leave this open as a reminder for us to figure that out. |
Thanks. I will waiting for a new release to fix this issue. |
Okay, it's still insiders built only — we don't have a normal tagged release yet where you can override the postcss dependency but the situation itself has been taken care of and it'll be possible in the future to work around situations like these. Sorry for all the trouble — and thanks again! |
Thanks for working on this! However, if the current fix is only available on the insiders build, should this issue be closed? If others aren't comfortable using the insiders build in production apps, shouldn't this issue remain open as a signal about this problem specific to |
Started reproducing this issue after upgrading an existing project from |
What version of Tailwind CSS are you using? v3.0.24
What build tool (or framework if it abstracts the build tool) are you using? [email protected]
**What version of Node.js are you using?**v16.0.0
What operating system are you using? macOS
Reproduction URL
https://github.com/nghiepit/tailwindcss-3-0-24-bug
Describe your issue
My styles
In the
v.3.0.24
will be throw an errorBut in the CHANGELOG.md I don't see any breaking changes.
And in the
v.3.0.23
the output correctly:The text was updated successfully, but these errors were encountered: