postcss / postcss

Transforming styles with JS plugins
https://postcss.org
MIT License
28.45k stars 1.56k forks source link

Consider not converting code in comments! #1971

Open GoldenSheep402 opened 2 hours ago

GoldenSheep402 commented 2 hours ago
image

I found that postcss will try to convert those code in comments, and I don't think this is appropriate.

As you see here postcss try to convert bg-[--color-bg-2], and build failed!

ai commented 1 hour ago

I don’t understand. You show HTML code example. How PostCSS, CSS parser, is relevant?