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