Home

tailwind-ctp-intellisense @6d88a5c31c4b0fb1532b64e157295ca20773cb68 - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tailwind-ctp-intellisense / packages / tailwindcss-language-server / src / util / getModuleDependencies.ts
- raw
1
2
3
4
5
6
7
import _getModuleDependencies from 'tailwindcss/lib/lib/getModuleDependencies'

export function getModuleDependencies(modulePath: string): string[] {
  return _getModuleDependencies(modulePath)
    .map(({ file }) => file)
    .filter((file) => file !== modulePath)
}