Skip to content

Commit d9550c4

Browse files
committed
fix: still let esbuild handle ts
1 parent adaf9a5 commit d9550c4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/plugin-vue-jsx/index.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ module.exports = function vueJsxPlugin(options = {}) {
1616

1717
config(config) {
1818
return {
19-
esbuild: false,
19+
// only apply esbuild to ts files
20+
// since we are handling jsx and tsx now
21+
esbuild: {
22+
include: /\.ts$/
23+
},
2024
define: {
2125
__VUE_OPTIONS_API__: true,
2226
__VUE_PROD_DEVTOOLS__: false,

0 commit comments

Comments
 (0)