UNPKG

@arco-plugins/vite-vue

Version:

For Vite build, load Arco Design styles on demand

22 lines (21 loc) 603 B
declare type TransformedResult = undefined | { code: string; map: any; }; declare type Style = boolean | 'css'; export declare function transformCssFile({ id, theme, }: { code: string; id: string; theme: string; }): TransformedResult; export declare function transformJsFiles({ code, id, theme, style, styleOptimization, sourceMaps, componentPrefix, iconPrefix, }: { code: string; id: string; theme?: string; style: Style; styleOptimization: boolean; sourceMaps: boolean; componentPrefix: string; iconPrefix: string; }): TransformedResult; export {};