@lcap/builder
Version:
lcap builder utils
20 lines (19 loc) • 589 B
TypeScript
import { Plugin } from 'vite';
import { Dependency } from '../build/types';
export interface LcapCodeGenOption {
type?: 'extension' | 'nasl.ui';
rootPath?: string;
themeVarCssPath?: string;
themeComponentFolder?: string;
themePreviewEntry?: string;
previewPages?: Array<{
name: string;
title: string;
}>;
findThemeType?: 'theme' | 'component';
framework?: 'react' | 'vue2' | 'taro' | 'vue3';
dependencies?: Dependency[];
pkg?: any;
}
declare const _default: (options?: LcapCodeGenOption) => Plugin<any>;
export default _default;