JsonOptions Type — vite Architecture
Architecture documentation for the JsonOptions type/interface in json.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD 307db399_19a8_7f33_ca6e_09999f9a002b["JsonOptions"] 866d2d5c_2ca3_dc37_7bf8_a3aba1fe0d40["json.ts"] 307db399_19a8_7f33_ca6e_09999f9a002b -->|defined in| 866d2d5c_2ca3_dc37_7bf8_a3aba1fe0d40 style 307db399_19a8_7f33_ca6e_09999f9a002b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/plugins/json.ts lines 1–14
export interface JsonOptions {
/**
* Generate a named export for every property of the JSON object
* @default true
*/
namedExports?: boolean
/**
* Generate performant output as JSON.parse("stringified").
*
* When set to 'auto', the data will be stringified only if the data is bigger than 10kB.
* @default 'auto'
*/
stringify?: boolean | 'auto'
}
Defined In
Source
Frequently Asked Questions
What is the JsonOptions type?
JsonOptions is a type/interface in the vite codebase, defined in packages/vite/src/node/plugins/json.ts.
Where is JsonOptions defined?
JsonOptions is defined in packages/vite/src/node/plugins/json.ts at line 1.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free