Home / Type/ HtmlAssetAttribute Type — vite Architecture

HtmlAssetAttribute Type — vite Architecture

Architecture documentation for the HtmlAssetAttribute type/interface in assetSource.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  a61e171f_58d3_dd6d_70f6_69917194705d["HtmlAssetAttribute"]
  a2a61cd6_2d46_2c12_335a_793c63cb8a19["assetSource.ts"]
  a61e171f_58d3_dd6d_70f6_69917194705d -->|defined in| a2a61cd6_2d46_2c12_335a_793c63cb8a19
  style a61e171f_58d3_dd6d_70f6_69917194705d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/src/node/assetSource.ts lines 100–106

interface HtmlAssetAttribute {
  type: 'src' | 'srcset' | 'remove'
  key: string
  value: string
  attributes: Record<string, string>
  location: Token.Location
}

Frequently Asked Questions

What is the HtmlAssetAttribute type?
HtmlAssetAttribute is a type/interface in the vite codebase, defined in packages/vite/src/node/assetSource.ts.
Where is HtmlAssetAttribute defined?
HtmlAssetAttribute is defined in packages/vite/src/node/assetSource.ts at line 100.

Analyze Your Own Codebase

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

Try Supermodel Free