diff --git a/packages/plugin-vue-jsx/index.js b/packages/plugin-vue-jsx/index.js index 51a1ca61739c94..d70f7395a48d9e 100644 --- a/packages/plugin-vue-jsx/index.js +++ b/packages/plugin-vue-jsx/index.js @@ -16,7 +16,11 @@ module.exports = function vueJsxPlugin(options = {}) { config(config) { return { - esbuild: false, + // only apply esbuild to ts files + // since we are handling jsx and tsx now + esbuild: { + include: /\.ts$/ + }, define: { __VUE_OPTIONS_API__: true, __VUE_PROD_DEVTOOLS__: false,