Home / Type/ BuilderOptions Type — vite Architecture

BuilderOptions Type — vite Architecture

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

packages/vite/src/node/build.ts lines 1727–1743

export interface BuilderOptions {
  /**
   * Whether to share the config instance among environments to align with the behavior of dev server.
   *
   * @default false
   * @experimental
   */
  sharedConfigBuild?: boolean
  /**
   * Whether to share the plugin instances among environments to align with the behavior of dev server.
   *
   * @default false
   * @experimental
   */
  sharedPlugins?: boolean
  buildApp?: (builder: ViteBuilder) => Promise<void>
}

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free