testCaseInsensitiveFS() — vite Function Reference
Architecture documentation for the testCaseInsensitiveFS() function in utils.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD b88f2487_edc8_8fa8_79a7_cf2815e38848["testCaseInsensitiveFS()"] 031bc221_67a8_c579_f2bf_bb30a08beeb2["utils.ts"] b88f2487_edc8_8fa8_79a7_cf2815e38848 -->|defined in| 031bc221_67a8_c579_f2bf_bb30a08beeb2 style b88f2487_edc8_8fa8_79a7_cf2815e38848 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/utils.ts lines 209–222
function testCaseInsensitiveFS() {
if (!CLIENT_ENTRY.endsWith('client.mjs')) {
throw new Error(
`cannot test case insensitive FS, CLIENT_ENTRY const doesn't contain client.mjs`,
)
}
if (!fs.existsSync(CLIENT_ENTRY)) {
throw new Error(
'cannot test case insensitive FS, CLIENT_ENTRY does not point to an existing file: ' +
CLIENT_ENTRY,
)
}
return fs.existsSync(CLIENT_ENTRY.replace('client.mjs', 'cLiEnT.mjs'))
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does testCaseInsensitiveFS() do?
testCaseInsensitiveFS() is a function in the vite codebase, defined in packages/vite/src/node/utils.ts.
Where is testCaseInsensitiveFS() defined?
testCaseInsensitiveFS() is defined in packages/vite/src/node/utils.ts at line 209.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free