mirror of
https://github.com/hanzoai/vite.git
synced 2026-10-30 19:36:16 +00:00
15 lines
392 B
TypeScript
15 lines
392 B
TypeScript
import type { Plugin } from 'vite'
|
|
import type { VueJSXPluginOptions } from '@vue/babel-plugin-jsx'
|
|
import type { FilterPattern } from '@rollup/pluginutils'
|
|
|
|
declare interface FilterOptions {
|
|
include?: FilterPattern
|
|
exclude?: FilterPattern
|
|
}
|
|
|
|
declare function createPlugin(
|
|
options?: VueJSXPluginOptions & FilterOptions & { babelPlugins?: any[] }
|
|
): Plugin
|
|
|
|
export default createPlugin
|