File tree 1 file changed +9
-0
lines changed
packages/plugin-vue-jsx/src
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,13 @@ function vueJsxPlugin(options: Options = {}): Plugin {
59
59
oxc : {
60
60
include : / \. t s $ / ,
61
61
} ,
62
+ optimizeDeps : {
63
+ rollupOptions : {
64
+ jsx : {
65
+ mode : 'classic' , // TODO using rolldown jsx preserve
66
+ } ,
67
+ } ,
68
+ } ,
62
69
define : {
63
70
__VUE_OPTIONS_API__ : config . define ?. __VUE_OPTIONS_API__ ?? true ,
64
71
__VUE_PROD_DEVTOOLS__ : config . define ?. __VUE_PROD_DEVTOOLS__ ?? false ,
@@ -138,6 +145,7 @@ function vueJsxPlugin(options: Options = {}): Plugin {
138
145
return {
139
146
code : result . code ,
140
147
map : result . map ,
148
+ moduleType : 'js' ,
141
149
}
142
150
}
143
151
@@ -263,6 +271,7 @@ function vueJsxPlugin(options: Options = {}): Plugin {
263
271
return {
264
272
code : result . code ,
265
273
map : result . map ,
274
+ moduleType : 'js' ,
266
275
}
267
276
}
268
277
} ,
You can’t perform that action at this time.
0 commit comments