getModuleDependencies() — tailwindcss Function Reference
Architecture documentation for the getModuleDependencies() function in get-module-dependencies.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 9cfd6a48_f7c8_231f_3ab5_bd787226724b["getModuleDependencies()"] d5a4928f_80ca_0a99_96fb_178e14fe7a6a["get-module-dependencies.ts"] 9cfd6a48_f7c8_231f_3ab5_bd787226724b -->|defined in| d5a4928f_80ca_0a99_96fb_178e14fe7a6a 2a6a0b85_eed3_a09b_8c8d_c2a585078dac["loadModule()"] 2a6a0b85_eed3_a09b_8c8d_c2a585078dac -->|calls| 9cfd6a48_f7c8_231f_3ab5_bd787226724b 0ba52b8d_ecc0_b19e_4d17_62bd29d5abbc["traceDependencies()"] 9cfd6a48_f7c8_231f_3ab5_bd787226724b -->|calls| 0ba52b8d_ecc0_b19e_4d17_62bd29d5abbc style 9cfd6a48_f7c8_231f_3ab5_bd787226724b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/@tailwindcss-node/src/get-module-dependencies.ts lines 95–106
export async function getModuleDependencies(absoluteFilePath: string) {
let seen = new Set<string>()
await traceDependencies(
seen,
absoluteFilePath,
path.dirname(absoluteFilePath),
path.extname(absoluteFilePath),
)
return Array.from(seen)
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does getModuleDependencies() do?
getModuleDependencies() is a function in the tailwindcss codebase, defined in packages/@tailwindcss-node/src/get-module-dependencies.ts.
Where is getModuleDependencies() defined?
getModuleDependencies() is defined in packages/@tailwindcss-node/src/get-module-dependencies.ts at line 95.
What does getModuleDependencies() call?
getModuleDependencies() calls 1 function(s): traceDependencies.
What calls getModuleDependencies()?
getModuleDependencies() is called by 1 function(s): loadModule.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free