Closed sandhose closed 8 months ago
@sandhose Thank you for reporting this. I will take a look shortly!
I've prepared a fix here : https://github.com/postcss/postcss-import/pull/558 Thank you again for the reproduction.
You're welcome! Thanks for your really quick response!
Published in v16.0.1 :fireworks:
@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