🔧: jsx 插件配置问题,导致全量 es 和 umd 构建转译 jsx 语法错误

This commit is contained in:
sight 2022-08-30 15:39:35 +08:00
parent 2b36f7f8d0
commit 09dfe2bd52
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ export default (): UserConfigExport => {
},
],
},
plugins: [vue(), vueJsx],
plugins: [vue(), vueJsx()],
build: {
cssCodeSplit: false,
outDir: "lib",

View File

@ -14,7 +14,7 @@ export default (): UserConfigExport => {
},
],
},
plugins: [vue(), vueJsx],
plugins: [vue(), vueJsx()],
build: {
cssCodeSplit: false,
outDir: "umd",