Home / Type/ RunnableDevEnvironmentContext Type — vite Architecture

RunnableDevEnvironmentContext Type — vite Architecture

Architecture documentation for the RunnableDevEnvironmentContext type/interface in runnableEnvironment.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  623d5d4a_76bc_5588_662e_e046528cd3fa["RunnableDevEnvironmentContext"]
  e21da89c_08b2_d4be_4023_7ef3ad334bdb["runnableEnvironment.ts"]
  623d5d4a_76bc_5588_662e_e046528cd3fa -->|defined in| e21da89c_08b2_d4be_4023_7ef3ad334bdb
  style 623d5d4a_76bc_5588_662e_e046528cd3fa fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/src/node/server/environments/runnableEnvironment.ts lines 25–35

export interface RunnableDevEnvironmentContext extends Omit<
  DevEnvironmentContext,
  'hot'
> {
  runner?: (
    environment: RunnableDevEnvironment,
    options?: ServerModuleRunnerOptions,
  ) => ModuleRunner
  runnerOptions?: ServerModuleRunnerOptions
  hot?: boolean
}

Frequently Asked Questions

What is the RunnableDevEnvironmentContext type?
RunnableDevEnvironmentContext is a type/interface in the vite codebase, defined in packages/vite/src/node/server/environments/runnableEnvironment.ts.
Where is RunnableDevEnvironmentContext defined?
RunnableDevEnvironmentContext is defined in packages/vite/src/node/server/environments/runnableEnvironment.ts at line 25.

Analyze Your Own Codebase

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

Try Supermodel Free