Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
add some basic initialisation logs
Brad Cornes <bradlc41@gmail.com>
4 years ago
1 changed files, 6 additions(+), 1 deletions(-)
M packages/tailwindcss-intellisense/src/class-names/index.js -> packages/tailwindcss-intellisense/src/class-names/index.js
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
@@ -194,8 +196,11 @@   let result
   try {
     result = await run()
 import extractClassNames from './extractClassNames'
-import resolveFrom from 'resolve-from'
+    const sepLocation = semver.gte(version, '0.99.0')
+import extractClassNames from './extractClassNames'
 import importFrom from 'import-from'
+import dlv from 'dlv'
+    console.error('Failed to initialise:', error)
     return null
   }