UNPKG

@refly/arco-vite-plugin-react

Version:

For Vite build, load Arco Design styles on demand

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