Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
add support for config files with .cjs extension (#198)
Brad Cornes <bradlc41@gmail.com>
4 years ago
2 changed files, 2 additions(+), 2 deletions(-)
M packages/tailwindcss-intellisense/package.json -> packages/tailwindcss-intellisense/package.json
diff --git a/packages/tailwindcss-intellisense/package.json b/packages/tailwindcss-intellisense/package.json
index f4c863307b0c89f226a5b7e892e9f6f5da53953f..a2eaca1c83113128921c88be0fbf7abb4f78e4d0 100755
--- a/packages/tailwindcss-intellisense/package.json
+++ b/packages/tailwindcss-intellisense/package.json
@@ -36,7 +36,7 @@     "color": "#f9fafb"
   },
   "icon": "media/icon.png",
   "activationEvents": [
-    "workspaceContains:**/{tailwind,tailwind.config,tailwind-config,.tailwindrc}.js"
+    "workspaceContains:**/{tailwind,tailwind.config,tailwind-config,.tailwindrc}.{js,cjs}"
   ],
   "main": "dist/extension/index.js",
   "contributes": {
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 a66b13dc203d9ed0d1c9cedc2dd40ad14f0a05db..0ab940e8bf6a143000123bc38a50122642126c1e 100644
--- a/packages/tailwindcss-intellisense/src/class-names/index.js
+++ b/packages/tailwindcss-intellisense/src/class-names/index.js
@@ -24,7 +24,7 @@   )
 }
 
 const CONFIG_GLOB =
-  '**/{tailwind,tailwind.config,tailwind-config,.tailwindrc}.js'
+  '**/{tailwind,tailwind.config,tailwind-config,.tailwindrc}.{js,cjs}'
 
 export default async function getClassNames(
   cwd = process.cwd(),