MCPcopy
hub / github.com/youzan/vant / VantResolverOptions

Interface VantResolverOptions

packages/vant-auto-import-resolver/src/index.ts:1–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export interface VantResolverOptions {
2 /**
3 * Whether to automatically import the corresponding styles of the components.
4 *
5 * @default true
6 */
7 importStyle?:
8 | boolean
9 | 'css'
10 /** Compatible with Vant 2.x / 3.x */
11 | 'less';
12
13 /**
14 * Set the referenced module type.
15 *
16 * @default 'esm'
17 */
18 module?: 'esm' | 'cjs';
19
20 /**
21 * @deprecated Please use `module` option instead.
22 */
23 ssr?: boolean;
24
25 /**
26 * exclude components or API that do not require automatic import
27 *
28 * @default []
29 */
30 exclude?: string[];
31}
32
33export type VantImportsOptions = Pick<VantResolverOptions, 'module' | 'ssr'>;
34

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…