Skip to content

Handle plugins in v3 detection#22

Merged
vormwald merged 1 commit intovormwald:mainfrom
imustafin:v3-detection
Feb 28, 2025
Merged

Handle plugins in v3 detection#22
vormwald merged 1 commit intovormwald:mainfrom
imustafin:v3-detection

Conversation

@imustafin
Copy link
Contributor

Hi! Thanks for the Tailwind v4 update!

Unfortunately, there is an error when v4 is used without a config file but with an official plugin.

According to the installation instructions, typography plugin https://github.com/tailwindlabs/tailwindcss-typography is imported as:

@import "tailwindcss";
@plugin "@tailwindcss/typography";

Which has the substring @tailwindcss which triggers the v3 check.

If needed, I can make the check a bit smarter, but maybe it is ok as it is.

Copy link
Owner

@vormwald vormwald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, love it thanks for the PR 🙌

@vormwald vormwald merged commit 47a5779 into vormwald:main Feb 28, 2025
4 checks passed
@imustafin
Copy link
Contributor Author

@vormwald Great! Could you please push the new release to rubygems? I don't see it at https://rubygems.org/gems/jekyll-tailwindcss/

@vormwald
Copy link
Owner

vormwald commented Mar 3, 2025

🤔 Not sure what happened when I pushed it up last time. It's available now though! Thanks for the ping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants