Cosmin Popovici
Cosmin Popovici
Juice would need a 'safelist' option to define selectors that shouldn't be inlined. There is excludedProperties, but that is for things like 'padding' or 'display'. Would be a great feature...
> @cossssmin You can actually configure Tailwind CSS to always generate all utilities with an `!important` in the end, so with that you might not need to run your plugin...
Yes, it works fine now, see the test repo: https://github.com/maizzle/tw4-with-plugins
Thanks for the insights Murilo, we're currently testing v4 with Maizzle but haven't gotten that far. Just tried out `hover:font-bold` in that repo and indeed it looks like `postcss-css-variables` crashes...
The CSS parser used by Juice currently cannot handle those types of selectors, sorry.
We will fix this and update `cheerio` which now uses `[email protected]`, but it will mean we release a major version, because undici now uses APIs that are not available in...
@jrit if you can add me to the repo that powers the GitHub Pages site I can have a look.