Skip to content

feat: add Vite 7 support to the @tailwindcss/vite plugin #18384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 24, 2025

Conversation

rozsazoltan
Copy link
Contributor

Closes #18381

Starting from Vite 7, Node 18 support will be dropped, which doesn't really affect Tailwind. It might be worth mentioning in the documentation that the recommended minimum Node versions are 20.19 and 22.12.

Vite 7 is only available in ESM format, which is also not an issue.

Vite's browser support aligns with the v4 guidelines:

Chrome 87 → 107       (tw: 111)
Edge 88 → 107         (tw: 111)
Firefox 78 → 104      (tw: 128)
Safari 14.0 → 16.0    (tw: 16.4)

So, at first glance, there's nothing more to do except enabling support for these versions.

@rozsazoltan rozsazoltan requested a review from a team as a code owner June 24, 2025 14:39
@thecrypticace thecrypticace merged commit aa85931 into tailwindlabs:main Jun 24, 2025
12 of 13 checks passed
@thecrypticace
Copy link
Contributor

Thanks!

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.

@tailwindcss/vite support for Vite 7
2 participants