15 lines
398 B
TypeScript
15 lines
398 B
TypeScript
import { FilterPattern, Plugin } from 'vite';
|
|
import { VueJSXPluginOptions } from '@vue/babel-plugin-jsx';
|
|
|
|
interface FilterOptions {
|
|
include?: FilterPattern;
|
|
exclude?: FilterPattern;
|
|
}
|
|
type Options = VueJSXPluginOptions & FilterOptions & {
|
|
babelPlugins?: any[];
|
|
};
|
|
|
|
declare function vueJsxPlugin(options?: Options): Plugin;
|
|
|
|
export { FilterOptions, Options, vueJsxPlugin as default };
|