isLegacyChunk() — vite Function Reference
Architecture documentation for the isLegacyChunk() function in index.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD 0064f6ab_988c_7c5f_d7b9_1668a42f0a59["isLegacyChunk()"] 9776ecb6_00c0_b3b9_b3f7_177fedabeacc["index.ts"] 0064f6ab_988c_7c5f_d7b9_1668a42f0a59 -->|defined in| 9776ecb6_00c0_b3b9_b3f7_177fedabeacc cf21e8d8_cce6_30a7_7732_696ed5cdf103["viteLegacyPlugin()"] cf21e8d8_cce6_30a7_7732_696ed5cdf103 -->|calls| 0064f6ab_988c_7c5f_d7b9_1668a42f0a59 style 0064f6ab_988c_7c5f_d7b9_1668a42f0a59 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/plugin-legacy/src/index.ts lines 978–980
function isLegacyChunk(chunk: Rollup.RenderedChunk) {
return chunk.fileName.includes('-legacy')
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does isLegacyChunk() do?
isLegacyChunk() is a function in the vite codebase, defined in packages/plugin-legacy/src/index.ts.
Where is isLegacyChunk() defined?
isLegacyChunk() is defined in packages/plugin-legacy/src/index.ts at line 978.
What calls isLegacyChunk()?
isLegacyChunk() is called by 1 function(s): viteLegacyPlugin.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free