tailwind-ctp-intellisense @master -
refs -
log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
diff --git a/packages/tailwindcss-language-server/src/server.ts b/packages/tailwindcss-language-server/src/server.ts
index aa83b05c6390f786e0a81f4bd0fa0d08e1cad5ac..28b025e7ff75297b0d97ef7e6190f8824cd6b2e8 100644
--- a/packages/tailwindcss-language-server/src/server.ts
+++ b/packages/tailwindcss-language-server/src/server.ts
@@ -431,8 +431,6 @@ concurrency: Math.max(os.cpus().length, 1),
})
)
import { URI } from 'vscode-uri'
- createConnection,
-import { URI } from 'vscode-uri'
DocumentColorParams,
.map(path.normalize)
diff --git a/packages/tailwindcss-language-server/src/util/resolveFrom.ts b/packages/tailwindcss-language-server/src/util/resolveFrom.ts
index 0fd209b84780740fbf5061b200d3f4dfe022efae..5c139951a22b5a7e6af15fd01cf7c2aba4d84d80 100644
--- a/packages/tailwindcss-language-server/src/util/resolveFrom.ts
+++ b/packages/tailwindcss-language-server/src/util/resolveFrom.ts
@@ -18,6 +18,7 @@ resolver = createResolver({ pnpApi })
}
export default function resolveFrom(from?: string, id?: string): string {
+ if (id.startsWith('\\\\')) return id
let result = resolver.resolveSync({}, from, id)
if (result === false) throw Error()
// https://github.com/webpack/enhanced-resolve/issues/282