File tree 2 files changed +1
-10
lines changed
2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change 1
1
import * as _nuxt_schema from '@nuxt/schema' ;
2
2
3
- declare const _default : _nuxt_schema . NuxtModule < { jsx ?: boolean } > ;
3
+ declare const _default : _nuxt_schema . NuxtModule < { } > ;
4
4
5
5
export { _default as default } ;
Original file line number Diff line number Diff line change @@ -6,21 +6,12 @@ export default defineNuxtModule({
6
6
name : 'v-satori' ,
7
7
configKey : 'satori' ,
8
8
} ,
9
- defaults : {
10
- jsx : false ,
11
-
12
- } ,
13
9
setup ( options , nuxt ) {
14
10
nuxt . hook ( 'nitro:config' , async ( config ) => {
15
11
config . rollupConfig = config . rollupConfig || { }
16
12
config . rollupConfig . plugins = config . rollupConfig . plugins || [ ]
17
13
18
14
config . rollupConfig . plugins . push ( vue ( ) )
19
-
20
- if ( options . jsx ) {
21
- const vueJsx = await import ( '@vitejs/plugin-vue-jsx' ) . then ( r => r . default || r )
22
- config . rollupConfig . plugins . push ( vueJsx ( ) )
23
- }
24
15
} )
25
16
} ,
26
17
} )
You can’t perform that action at this time.
0 commit comments