Home

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