tailwind-ctp-intellisense @master -
refs -
log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
diff --git a/packages/tailwindcss-intellisense/src/class-names/index.js b/packages/tailwindcss-intellisense/src/class-names/index.js
index 773faee0927bf1e835a0949695888b6a5200aa63..922900da05a7abbbaf299745350a6fd26167088f 100644
--- a/packages/tailwindcss-intellisense/src/class-names/index.js
+++ b/packages/tailwindcss-intellisense/src/class-names/index.js
@@ -52,6 +52,7 @@ .map(path.normalize)
invariant(configPaths.length > 0, 'No Tailwind CSS config found.')
const configPath = configPaths[0]
+ console.log(`Found Tailwind config file: ${configPath}`)
const configDir = path.dirname(configPath)
const tailwindBase = path.dirname(
resolveFrom(configDir, 'tailwindcss/package.json')
@@ -59,6 +60,7 @@ )
postcss = importFrom(tailwindBase, 'postcss')
tailwindcss = importFrom(configDir, 'tailwindcss')
version = importFrom(configDir, 'tailwindcss/package.json').version
+ console.log(`Found tailwindcss v${version}: ${tailwindBase}`)
try {
// this is not required
@@ -193,7 +195,9 @@
let result
try {
result = await run()
- } catch (_) {
+ console.log('Initialised successfully.')
+ } catch (error) {
+ console.error('Failed to initialise:', error)
return null
}