add support back in for config files named tailwind.js
parent
2f2d66124a
commit
4994b0aed1
|
@ -37,7 +37,7 @@ const colorNames = Object.keys(namedColors)
|
||||||
const CLIENT_ID = 'tailwindcss-intellisense'
|
const CLIENT_ID = 'tailwindcss-intellisense'
|
||||||
const CLIENT_NAME = 'Tailwind CSS IntelliSense'
|
const CLIENT_NAME = 'Tailwind CSS IntelliSense'
|
||||||
|
|
||||||
const CONFIG_FILE_GLOB = 'tailwind.config.{js,cjs}'
|
const CONFIG_FILE_GLOB = '{tailwind,tailwind.config}.{js,cjs}'
|
||||||
|
|
||||||
let clients: Map<string, LanguageClient> = new Map()
|
let clients: Map<string, LanguageClient> = new Map()
|
||||||
let languages: Map<string, string[]> = new Map()
|
let languages: Map<string, string[]> = new Map()
|
||||||
|
|
|
@ -71,7 +71,7 @@ import { debounce } from 'debounce'
|
||||||
import { getModuleDependencies } from './util/getModuleDependencies'
|
import { getModuleDependencies } from './util/getModuleDependencies'
|
||||||
// import postcssLoadConfig from 'postcss-load-config'
|
// import postcssLoadConfig from 'postcss-load-config'
|
||||||
|
|
||||||
const CONFIG_FILE_GLOB = 'tailwind.config.{js,cjs}'
|
const CONFIG_FILE_GLOB = '{tailwind,tailwind.config}.{js,cjs}'
|
||||||
const TRIGGER_CHARACTERS = [
|
const TRIGGER_CHARACTERS = [
|
||||||
// class attributes
|
// class attributes
|
||||||
'"',
|
'"',
|
||||||
|
|
Loading…
Reference in New Issue