MCPcopy
hub / github.com/vitejs/vite / Options

Interface Options

packages/plugin-legacy/src/types.ts:1–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export interface Options {
2 /**
3 * default: 'defaults'
4 */
5 targets?: string | string[] | Record<string, string>
6 /**
7 * default: 'edge>=79, firefox>=67, chrome>=64, safari>=12, chromeAndroid>=64, iOS>=12'
8 */
9 modernTargets?: string | string[]
10 /**
11 * default: true
12 */
13 polyfills?: boolean | string[]
14 additionalLegacyPolyfills?: string[]
15 additionalModernPolyfills?: string[]
16 /**
17 * default: false
18 */
19 modernPolyfills?: boolean | string[]
20 /**
21 * default: true
22 */
23 renderLegacyChunks?: boolean
24 /**
25 * default: false
26 */
27 externalSystemJS?: boolean
28 /**
29 * default: true
30 */
31 renderModernChunks?: boolean
32 /**
33 * @see https://babeljs.io/docs/assumptions
34 *
35 * default: {}
36 */
37 assumptions?: Record<string, boolean>
38}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected