UNPKG

beesbuild

Version:

构建工具链

13 lines (12 loc) 568 B
import type { Options as VueMacrosOptions } from 'unplugin-vue-macros'; import type { Options as VueJsxOptions } from '@vitejs/plugin-vue-jsx'; import type { Options as VueOptions } from '@vitejs/plugin-vue'; import type { Plugin } from 'rollup'; import type { BuildContext } from '../../types'; export type VuePluginOptions = { rootDir?: string; vueMacros?: VueMacrosOptions | boolean; vue?: VueOptions | boolean; vueJsx?: VueJsxOptions | boolean; }; export declare function vuePlugin(options: VuePluginOptions, ctx: BuildContext): Plugin | Plugin[];