tailwindcss-setup-examples
tailwindcss-setup-examples copied to clipboard
Jekyll: Upgrade to Tailwind CSS 1.2.0, fix purgecss, minor fixes
Hey!
Thanks for all your work on Tailwind CSS and these setup examples. They're awesome :)
I was working with Jekyll for the past few days and came across a few problems. I fixed all of them and would like to contribute them back to this repository.
This also fixes #56 in which purgecss was not working. I noticed this due to the "generated" site.css being 1.1MB in size, which is the original size. After fixing purgecss, its size is now 8kb - sounds more reasonable.
Major Changes
- Upgrade to Tailwind CSS 1.2.0.
- Fix purgecss: Upgrade purgecss to v2, upgrade other JS dependencies, update extractor regex from Tailwind docs.
-
Fix jekyll not generating site: The dependencies
jekyll-feedandjekyll-seo-tagwere missing, both in theGemfileand in the_config.yml. Their (liquid) tags were however used inlayouts/default.html. So I assume the original intent was to include them and fixed it.
Minor Changes
- Clean up
Gemfile: Sync it with what jekyll generates for a new project (jekyll version3.8.6). - Clean up
excludelist in_config.yml: Order alphabetically, remove unused entries (binandnetlify.toml), addpackage.jsonwhich was included in builds so far.