isExternal() — vite Function Reference
Architecture documentation for the isExternal() function in build.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD 1c298b1b_737f_a237_2e42_342cd768bde3["isExternal()"] 45981d85_cbdd_e969_8c88_c17072ea0eda["build.ts"] 1c298b1b_737f_a237_2e42_342cd768bde3 -->|defined in| 45981d85_cbdd_e969_8c88_c17072ea0eda 982df30b_2ec4_e822_95ff_975ea86f3b5d["resolveUserExternal()"] 982df30b_2ec4_e822_95ff_975ea86f3b5d -->|calls| 1c298b1b_737f_a237_2e42_342cd768bde3 style 1c298b1b_737f_a237_2e42_342cd768bde3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/build.ts lines 1178–1184
function isExternal(id: string, test: string | RegExp) {
if (typeof test === 'string') {
return id === test
} else {
return test.test(id)
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does isExternal() do?
isExternal() is a function in the vite codebase, defined in packages/vite/src/node/build.ts.
Where is isExternal() defined?
isExternal() is defined in packages/vite/src/node/build.ts at line 1178.
What calls isExternal()?
isExternal() is called by 1 function(s): resolveUserExternal.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free