Home

tailwind-ctp-intellisense @4cee488fb4d03efa9b2b9c1c732f93a786eeb6fa - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tailwind-ctp-intellisense / 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)
}