Home / Type/ HotUpdateOptions Type — vite Architecture

HotUpdateOptions Type — vite Architecture

Architecture documentation for the HotUpdateOptions type/interface in hmr.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  59a6e1cd_6bd0_6287_858c_a1dcf237bf91["HotUpdateOptions"]
  18db4f26_79f1_5b7d_b291_4feeaf95538f["hmr.ts"]
  59a6e1cd_6bd0_6287_858c_a1dcf237bf91 -->|defined in| 18db4f26_79f1_5b7d_b291_4feeaf95538f
  style 59a6e1cd_6bd0_6287_858c_a1dcf237bf91 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/src/node/server/hmr.ts lines 54–61

export interface HotUpdateOptions {
  type: 'create' | 'update' | 'delete'
  file: string
  timestamp: number
  modules: Array<EnvironmentModuleNode>
  read: () => string | Promise<string>
  server: ViteDevServer
}

Frequently Asked Questions

What is the HotUpdateOptions type?
HotUpdateOptions is a type/interface in the vite codebase, defined in packages/vite/src/node/server/hmr.ts.
Where is HotUpdateOptions defined?
HotUpdateOptions is defined in packages/vite/src/node/server/hmr.ts at line 54.

Analyze Your Own Codebase

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

Try Supermodel Free