Home / Type/ DevEnvironmentContext Type — vite Architecture

DevEnvironmentContext Type — vite Architecture

Architecture documentation for the DevEnvironmentContext type/interface in environment.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  70c452df_b1b7_50ef_d90e_5bd179627481["DevEnvironmentContext"]
  7916c84f_5621_2b3b_d220_a171ebce997f["environment.ts"]
  70c452df_b1b7_50ef_d90e_5bd179627481 -->|defined in| 7916c84f_5621_2b3b_d220_a171ebce997f
  style 70c452df_b1b7_50ef_d90e_5bd179627481 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/src/node/server/environment.ts lines 43–53

export interface DevEnvironmentContext {
  hot: boolean
  transport?: HotChannel | WebSocketServer
  options?: EnvironmentOptions
  remoteRunner?: {
    inlineSourceMap?: boolean
  }
  depsOptimizer?: DepsOptimizer
  /** @internal used for full bundle mode */
  disableDepsOptimizer?: boolean
}

Frequently Asked Questions

What is the DevEnvironmentContext type?
DevEnvironmentContext is a type/interface in the vite codebase, defined in packages/vite/src/node/server/environment.ts.
Where is DevEnvironmentContext defined?
DevEnvironmentContext is defined in packages/vite/src/node/server/environment.ts at line 43.

Analyze Your Own Codebase

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

Try Supermodel Free