findOptimizedDepInfoInRecord() — vite Function Reference
Architecture documentation for the findOptimizedDepInfoInRecord() function in index.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD f2a4f915_6ca6_3732_291e_1c995c5ad182["findOptimizedDepInfoInRecord()"] 2f328851_91ee_fb05_63f0_4f466b9d6250["index.ts"] f2a4f915_6ca6_3732_291e_1c995c5ad182 -->|defined in| 2f328851_91ee_fb05_63f0_4f466b9d6250 b53437fa_d2e4_a560_0d14_dfc84f740176["runOptimizeDeps()"] b53437fa_d2e4_a560_0d14_dfc84f740176 -->|calls| f2a4f915_6ca6_3732_291e_1c995c5ad182 style f2a4f915_6ca6_3732_291e_1c995c5ad182 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/optimizer/index.ts lines 1372–1382
function findOptimizedDepInfoInRecord(
dependenciesInfo: Record<string, OptimizedDepInfo>,
callbackFn: (depInfo: OptimizedDepInfo, id: string) => any,
): OptimizedDepInfo | undefined {
for (const o of Object.keys(dependenciesInfo)) {
const info = dependenciesInfo[o]
if (callbackFn(info, o)) {
return info
}
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does findOptimizedDepInfoInRecord() do?
findOptimizedDepInfoInRecord() is a function in the vite codebase, defined in packages/vite/src/node/optimizer/index.ts.
Where is findOptimizedDepInfoInRecord() defined?
findOptimizedDepInfoInRecord() is defined in packages/vite/src/node/optimizer/index.ts at line 1372.
What calls findOptimizedDepInfoInRecord()?
findOptimizedDepInfoInRecord() is called by 1 function(s): runOptimizeDeps.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free