| 1 | export 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 | |
| 33 | export type VantImportsOptions = Pick<VantResolverOptions, 'module' | 'ssr'>; |
| 34 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…