Commit 40990a6 1 parent 7d7e479 commit 40990a6 Copy full SHA for 40990a6
File tree 2 files changed +3
-10
lines changed
2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 1
1
import { Plugin } from 'vite'
2
+ import { VueJSXPluginOptions } from '@vue/babel-plugin-jsx'
2
3
3
- // https://github.com/vuejs/jsx-next/tree/dev/packages/babel-plugin-jsx#options
4
- export interface Options {
5
- transformOn ?: boolean
6
- optimize ?: boolean
7
- isCustomElement ?: ( tag : string ) => boolean
8
- mergeProps ?: boolean
9
- }
10
-
11
- declare function createPlugin ( options ?: Options ) : Plugin
4
+ declare function createPlugin ( options ?: VueJSXPluginOptions ) : Plugin
12
5
13
6
export default createPlugin
Original file line number Diff line number Diff line change 27
27
"@babel/core" : " ^7.12.10" ,
28
28
"@babel/plugin-syntax-import-meta" : " ^7.10.4" ,
29
29
"@babel/plugin-transform-typescript" : " ^7.12.1" ,
30
- "@vue/babel-plugin-jsx" : " ^1.0.0 " ,
30
+ "@vue/babel-plugin-jsx" : " ^1.0.1 " ,
31
31
"hash-sum" : " ^2.0.0"
32
32
}
33
33
}
You can’t perform that action at this time.
0 commit comments