Repository navigation
0.8.0 adds an install command and fixes builds run from outside the site folder. Some changes can break existing sites, so read "Before you upgrade" first.
Before you upgrade
-
Tailwind errors now fail the build.
jekyll buildstops withJekyll::Tailwindcss::CompilationErrorand
exits non-zero if:- the tailwindcss binary is missing
- the CLI exits with an error
- a v3 stylesheet has no
tailwindcss.configpath - you use a
.tailwindcssfile with tailwindcss-ruby below 4.0
Before, the gem logged the error and published your uncompiled CSS. (#35)
-
css_pathis now resolved against your site source. If you setsource:and wrotecss_path: src/_tailwind.cssto work around #38, change it tocss_path: _tailwind.css. (#39) -
Ruby 3.2 or newer is required. Ruby 3.1 reached end-of-life on 2025-03-31. (#34)
What's Changed
- Make tailwind CLI subprocess handling robust by @vormwald in #28
- Packaging metadata, Ruby 4.0 CI, and trusted-publishing release workflow by @vormwald in #29
- Add end-to-end integration spec with the real tailwind CLI by @vormwald in #30
- Drop support for Ruby 3.1 by @vormwald in #34
- Fix README typos and css_path config key by @vormwald in #32
- Fail the Jekyll build when Tailwind can't compile by @vormwald in #35
- fix: handle tailwindcss CLI I/O as UTF-8 regardless of locale by @vormwald in #37
- Resolve css_path against the site source by @vormwald in #39
- Add
jekyll tailwindcss:installby @vormwald in #31 - Release 0.8.0 by @vormwald in #40
Full Changelog: v0.7.0...v0.8.0