Home

tailwind-ctp-intellisense @eaa76f195a61d4a29c214d892d20550e357fb005 - 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)
}