We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adaf9a5 commit d9550c4Copy full SHA for d9550c4
packages/plugin-vue-jsx/index.js
@@ -16,7 +16,11 @@ module.exports = function vueJsxPlugin(options = {}) {
16
17
config(config) {
18
return {
19
- esbuild: false,
+ // only apply esbuild to ts files
20
+ // since we are handling jsx and tsx now
21
+ esbuild: {
22
+ include: /\.ts$/
23
+ },
24
define: {
25
__VUE_OPTIONS_API__: true,
26
__VUE_PROD_DEVTOOLS__: false,
0 commit comments