run() — vite Function Reference
Architecture documentation for the run() function in parse.spec.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD 6f63bd9e_a1e9_8210_f7b7_9dbb3133505a["run()"] c11accd6_8ec6_52c6_b2af_25876f356f31["parse.spec.ts"] 6f63bd9e_a1e9_8210_f7b7_9dbb3133505a -->|defined in| c11accd6_8ec6_52c6_b2af_25876f356f31 0410619b_cea7_ceeb_5ac6_dcaa057c95f7["runError()"] 0410619b_cea7_ceeb_5ac6_dcaa057c95f7 -->|calls| 6f63bd9e_a1e9_8210_f7b7_9dbb3133505a e4ded9fb_6262_73a6_ae73_068c08e2b994["parseImportGlob()"] 6f63bd9e_a1e9_8210_f7b7_9dbb3133505a -->|calls| e4ded9fb_6262_73a6_ae73_068c08e2b994 style 6f63bd9e_a1e9_8210_f7b7_9dbb3133505a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/__tests__/plugins/importGlob/parse.spec.ts lines 4–16
async function run(input: string) {
const items = await parseImportGlob(
input,
process.cwd(),
process.cwd(),
(id) => id,
)
return items.map((i) => ({
globs: i.globs,
options: i.options,
start: i.start,
}))
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does run() do?
run() is a function in the vite codebase, defined in packages/vite/src/node/__tests__/plugins/importGlob/parse.spec.ts.
Where is run() defined?
run() is defined in packages/vite/src/node/__tests__/plugins/importGlob/parse.spec.ts at line 4.
What does run() call?
run() calls 1 function(s): parseImportGlob.
What calls run()?
run() is called by 1 function(s): runError.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free