Skip to content

Conversation

@CaoKha
Copy link

@CaoKha CaoKha commented Dec 1, 2025

Summary

  • Tailwind v4 no longer requires a tailwind.config.js file, but the LSP still expects a global stylesheet to be provided via experimental.configFile. This PR automatically locates a stylesheet in the project root that contains @import 'tailwindcss'; and assigns its path to experimental.configFile. This ensures proper Tailwind v4 support without requiring a manual config file.
  • Trying to close Tailwindcss LSP: Invalid experimental.configFile configuration, not initializing #4204

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 LSP: Invalid experimental.configFile configuration, not initializing

1 participant