types.ts — vite Source File
Architecture documentation for types.ts, a typescript file in the vite codebase. 0 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 4f9da5f4_2720_8f92_92bb_2635a921fc15["types.ts"] 9776ecb6_00c0_b3b9_b3f7_177fedabeacc["index.ts"] 9776ecb6_00c0_b3b9_b3f7_177fedabeacc --> 4f9da5f4_2720_8f92_92bb_2635a921fc15 style 4f9da5f4_2720_8f92_92bb_2635a921fc15 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
export interface Options {
/**
* default: 'defaults'
*/
targets?: string | string[] | Record<string, string>
/**
* default: 'edge>=79, firefox>=67, chrome>=64, safari>=12, chromeAndroid>=64, iOS>=12'
*/
modernTargets?: string | string[]
/**
* default: true
*/
polyfills?: boolean | string[]
additionalLegacyPolyfills?: string[]
additionalModernPolyfills?: string[]
/**
* default: false
*/
modernPolyfills?: boolean | string[]
/**
* default: true
*/
renderLegacyChunks?: boolean
/**
* default: false
*/
externalSystemJS?: boolean
/**
* default: true
*/
renderModernChunks?: boolean
/**
* @see https://babeljs.io/docs/assumptions
*
* default: {}
*/
assumptions?: Record<string, boolean>
}
Domain
Types
Imported By
Source
Frequently Asked Questions
What does types.ts do?
types.ts is a source file in the vite codebase, written in typescript. It belongs to the PluginSystem domain.
What files import types.ts?
types.ts is imported by 1 file(s): index.ts.
Where is types.ts in the architecture?
types.ts is located at packages/plugin-legacy/src/types.ts (domain: PluginSystem, directory: packages/plugin-legacy/src).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free