CreateViteOptions Type — astro Architecture
Architecture documentation for the CreateViteOptions type/interface in create-vite.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 986e25c7_f1d5_4664_1f72_a92004e94ad3["CreateViteOptions"] 60b1393e_9046_7d4d_1df5_b46cd58358d1["create-vite.ts"] 986e25c7_f1d5_4664_1f72_a92004e94ad3 -->|defined in| 60b1393e_9046_7d4d_1df5_b46cd58358d1 style 986e25c7_f1d5_4664_1f72_a92004e94ad3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/create-vite.ts lines 55–69
type CreateViteOptions = {
settings: AstroSettings;
logger: Logger;
mode: string;
fs?: typeof nodeFs;
routesList: RoutesList;
sync: boolean;
} & (
| {
command: 'dev';
}
| {
command: 'build';
}
);
Defined In
Source
Frequently Asked Questions
What is the CreateViteOptions type?
CreateViteOptions is a type/interface in the astro codebase, defined in packages/astro/src/core/create-vite.ts.
Where is CreateViteOptions defined?
CreateViteOptions is defined in packages/astro/src/core/create-vite.ts at line 55.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free