-
Notifications
You must be signed in to change notification settings - Fork 115
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
Emitted @media
AtRules are invalid
#557
Comments
@sandhose Thank you for reporting this. |
romainmenke
changed the title
Emitted @media AtRules are invalid
Emitted Feb 9, 2024
@media
AtRules are invalid
I've prepared a fix here : #558 |
You're welcome! Thanks for your really quick response! |
Published in v16.0.1 🎆 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@import ... media queries;
statements emit invalidAtRule
, as theAtRule.params
is an array instead of being a string.This breaks the tailwindcss plugin in some scenarios, like:
Compiling this with both the postcss-import and tailwindcss plugin results to:
I've done a minimal example to reproduce this issue here: https://github.com/sandhose/postcss-import-bug-repro
This bug was introduced in version 16.0.0
The text was updated successfully, but these errors were encountered: