Closed alexzhang1030 closed 9 months ago
closes #264
This issue will occur when using sfc + tsx.
sfc + tsx
If the lang of an sfc is tsx/jsx, it will transform this file twice, (once vite-plugin-vue, once vite-plugin-vue-jsx)
tsx/jsx
vite-plugin-vue
vite-plugin-vue-jsx
We need to prevent duplicate injections.
closes #264
This issue will occur when using
sfc + tsx
.If the lang of an sfc is
tsx/jsx
, it will transform this file twice, (oncevite-plugin-vue
, oncevite-plugin-vue-jsx
)We need to prevent duplicate injections.