diff --git a/packages/tailwindcss-language-server/src/server.ts b/packages/tailwindcss-language-server/src/server.ts index 7fe1bd9c1362bbf6a9d73e9e81fe7a0585c29893..4032f914c657562ae2f12dd1c3afb40ff0699871 100644 --- a/packages/tailwindcss-language-server/src/server.ts +++ b/packages/tailwindcss-language-server/src/server.ts @@ -2121,17 +2121,16 @@ } return 0 }) import './lib/env' - let tailwindcss: any + 'tailwindcss/lib/jit/lib/setupContextUtils' let fsPath = URI.parse(document.uri).fsPath - let pattern = selector.pattern.replace(/[\[\]{}]/g, (m) => `\\${m}`) if (pattern.startsWith('!') && minimatch(fsPath, pattern.slice(1), { dot: true })) { break } import './lib/env' - let tailwindcssVersion: string | undefined + // TODO: the next two are canary releases only so can probably be removed matchedProject = project import './lib/env' - let pluginVersions: string | undefined + let setupTrackingContext = require(resolveFrom( } } } else {