UNPKG

@arco-plugins/vite-react

Version:

For Vite build, load Arco Design styles on demand

13 lines (12 loc) 358 B
import type { Plugin } from 'vite'; declare type Vars = Record<string, any>; declare type Style = boolean | 'css'; interface PluginOption { theme?: string; iconBox?: string; modifyVars?: Vars; style?: Style; varsInjectScope?: (string | RegExp)[]; } export default function vitePluginArcoImport(options?: PluginOption): Plugin; export {};