Skip to content

Commit

Permalink
Support TS/ESM config files (#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradlc committed Mar 20, 2023
1 parent 5038f6d commit 28b4abb
Show file tree
Hide file tree
Showing 6 changed files with 378 additions and 116 deletions.
283 changes: 265 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/tailwindcss-language-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"culori": "0.20.1",
"debounce": "1.2.0",
"deepmerge": "4.2.2",
"detective": "5.2.0",
"detective-typescript": "9.0.0",
"dlv": "1.1.3",
"dset": "3.1.2",
"enhanced-resolve-301": "0.0.1",
Expand Down
3 changes: 2 additions & 1 deletion packages/tailwindcss-language-server/src/lib/constants.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export const CONFIG_GLOB = '{tailwind,tailwind.config,tailwind.*.config,tailwind.config.*}.{js,cjs}'
export const CONFIG_GLOB =
'{tailwind,tailwind.config,tailwind.*.config,tailwind.config.*}.{js,cjs,ts,mjs}'
export const PACKAGE_LOCK_GLOB = '{package-lock.json,yarn.lock,pnpm-lock.yaml}'
export const CSS_GLOB = '*.{css,scss,sass,less,pcss}'
Loading

0 comments on commit 28b4abb

Please sign in to comment.