getDepsCacheDirPrefix() — vite Function Reference
Architecture documentation for the getDepsCacheDirPrefix() function in index.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD 5bdad750_70b8_ac01_1434_41e23a885c2f["getDepsCacheDirPrefix()"] 2f328851_91ee_fb05_63f0_4f466b9d6250["index.ts"] 5bdad750_70b8_ac01_1434_41e23a885c2f -->|defined in| 2f328851_91ee_fb05_63f0_4f466b9d6250 178d0f68_5aa9_9f89_6fb4_a6b2acfb2c07["getDepsCacheDir()"] 178d0f68_5aa9_9f89_6fb4_a6b2acfb2c07 -->|calls| 5bdad750_70b8_ac01_1434_41e23a885c2f 219e2afa_89d3_f956_ec3c_dc5f331bf93b["getProcessingDepsCacheDir()"] 219e2afa_89d3_f956_ec3c_dc5f331bf93b -->|calls| 5bdad750_70b8_ac01_1434_41e23a885c2f 0292cdda_4b03_d38d_11d6_b4b287d5f619["createIsOptimizedDepFile()"] 0292cdda_4b03_d38d_11d6_b4b287d5f619 -->|calls| 5bdad750_70b8_ac01_1434_41e23a885c2f 287d6c40_e13a_3c71_8d45_c949a2448ad8["createIsOptimizedDepUrl()"] 287d6c40_e13a_3c71_8d45_c949a2448ad8 -->|calls| 5bdad750_70b8_ac01_1434_41e23a885c2f a4adb1a7_cf54_091f_eb63_8217e684a8e1["normalizePath()"] 5bdad750_70b8_ac01_1434_41e23a885c2f -->|calls| a4adb1a7_cf54_091f_eb63_8217e684a8e1 style 5bdad750_70b8_ac01_1434_41e23a885c2f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/optimizer/index.ts lines 961–963
function getDepsCacheDirPrefix(environment: Environment): string {
return normalizePath(path.resolve(environment.config.cacheDir, 'deps'))
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does getDepsCacheDirPrefix() do?
getDepsCacheDirPrefix() is a function in the vite codebase, defined in packages/vite/src/node/optimizer/index.ts.
Where is getDepsCacheDirPrefix() defined?
getDepsCacheDirPrefix() is defined in packages/vite/src/node/optimizer/index.ts at line 961.
What does getDepsCacheDirPrefix() call?
getDepsCacheDirPrefix() calls 1 function(s): normalizePath.
What calls getDepsCacheDirPrefix()?
getDepsCacheDirPrefix() is called by 4 function(s): createIsOptimizedDepFile, createIsOptimizedDepUrl, getDepsCacheDir, getProcessingDepsCacheDir.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free