Home / Type/ ViteBuilder Type — vite Architecture

ViteBuilder Type — vite Architecture

Architecture documentation for the ViteBuilder type/interface in build.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  bec634a2_4d3b_2e94_4bfc_86de8ae42196["ViteBuilder"]
  45981d85_cbdd_e969_8c88_c17072ea0eda["build.ts"]
  bec634a2_4d3b_2e94_4bfc_86de8ae42196 -->|defined in| 45981d85_cbdd_e969_8c88_c17072ea0eda
  style bec634a2_4d3b_2e94_4bfc_86de8ae42196 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/src/node/build.ts lines 1717–1725

export interface ViteBuilder {
  environments: Record<string, BuildEnvironment>
  config: ResolvedConfig
  buildApp(): Promise<void>
  build(
    environment: BuildEnvironment,
  ): Promise<RolldownOutput | RolldownOutput[] | RolldownWatcher>
  runDevTools(): Promise<void>
}

Frequently Asked Questions

What is the ViteBuilder type?
ViteBuilder is a type/interface in the vite codebase, defined in packages/vite/src/node/build.ts.
Where is ViteBuilder defined?
ViteBuilder is defined in packages/vite/src/node/build.ts at line 1717.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free