Home / Type/ ExportsData Type — vite Architecture

ExportsData Type — vite Architecture

Architecture documentation for the ExportsData type/interface in index.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  2b0d797f_0c30_5249_a991_731565eb1aaa["ExportsData"]
  2f328851_91ee_fb05_63f0_4f466b9d6250["index.ts"]
  2b0d797f_0c30_5249_a991_731565eb1aaa -->|defined in| 2f328851_91ee_fb05_63f0_4f466b9d6250
  style 2b0d797f_0c30_5249_a991_731565eb1aaa fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/src/node/optimizer/index.ts lines 49–55

export type ExportsData = {
  hasModuleSyntax: boolean
  // exported names (for `export { a as b }`, `b` is exported name)
  exports: readonly string[]
  // hint if the dep requires loading as jsx
  jsxLoader?: boolean
}

Frequently Asked Questions

What is the ExportsData type?
ExportsData is a type/interface in the vite codebase, defined in packages/vite/src/node/optimizer/index.ts.
Where is ExportsData defined?
ExportsData is defined in packages/vite/src/node/optimizer/index.ts at line 49.

Analyze Your Own Codebase

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

Try Supermodel Free