add tailwind-config.js to config file glob
parent
7b6eb1c78c
commit
efbadc7a1c
|
@ -17,7 +17,7 @@
|
|||
"vscode"
|
||||
],
|
||||
"activationEvents": [
|
||||
"workspaceContains:**/{tailwind,tailwind.config,.tailwindrc}.js"
|
||||
"workspaceContains:**/{tailwind,tailwind.config,tailwind-config,.tailwindrc}.js"
|
||||
],
|
||||
"main": "./out/extension",
|
||||
"contributes": {},
|
||||
|
|
|
@ -7,7 +7,7 @@ const tailwindClassNames = require('tailwind-class-names')
|
|||
const dlv = require('dlv')
|
||||
const Color = require('color')
|
||||
|
||||
const CONFIG_GLOB = '{tailwind,tailwind.config,.tailwindrc}.js'
|
||||
const CONFIG_GLOB = '{tailwind,tailwind.config,tailwind-config,.tailwindrc}.js'
|
||||
|
||||
export async function activate(context: vscode.ExtensionContext) {
|
||||
let tw
|
||||
|
|
Loading…
Reference in New Issue