We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ee88a2 commit fd42dacCopy full SHA for fd42dac
packages/tailwindcss-language-server/src/project-locator.ts
@@ -91,6 +91,11 @@ export class ProjectLocator {
91
}
92
93
94
+ // Don't boot a project for the CS config if using Tailwind v4
95
+ if (config.type === 'js' && tailwind.features.includes('css-at-theme')) {
96
+ return null
97
+ }
98
+
99
// This is a TypeScript or ESM-based Tailwind config
100
if (config.type === 'js' && (config.path.endsWith('.ts') || config.path.endsWith('.mjs'))) {
101
// This version of Tailwind doesn't support transpiling configs
0 commit comments