marcfilleul / mf-blogstarter

Eleventy + Tailwind CSS blog starter by Marc Filleul

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any plans to incorporate TailwindCSS v1.4.0 w/ Built-in PurgeCSS?

dixonge opened this issue · comments

Yes, I have to update tailwind css.

But I'm not sure about the built in purge, because of the dark plugin whitelisting.

I haven't tried it yet.

I just asked about the upgrade (in general) on the TailwindCSS discussion tab. Unsure what parts to move, mainly due to the dark mode plugin, as you mentioned.

Adam gave me some suggested code - I incorporated it into your default postcss and tailwind config files - updated Tailwind - works!

tailwindlabs/tailwindcss#1656 (comment)

Thanks!
Just updated the starter.

I've also removed cssnano in postcss config because it was redundant since html-minifier with minifyCSS option to true already minify inlined css.