veaury
veaury copied to clipboard
update vite plugin
type 为 vue 时,支持自定义 react 组件文件目录
设置 默认 vueJsxInclude 和 vueJsxExclude,避免vite.config.ts 使用type 为 vue 或 react 时 ts报错。
@lin52025iq 设置为type为custom就行了,然后通过设置vueJsxInclude来确定vue的jsx组件的文件目录,其他目录将识别为react的jsx,参考 https://github.com/devilwjp/veaury#vite 的custom设置部分