🔧: jsx 插件配置问题,导致全量 es 和 umd 构建转译 jsx 语法错误
This commit is contained in:
parent
2b36f7f8d0
commit
09dfe2bd52
@ -14,7 +14,7 @@ export default (): UserConfigExport => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
plugins: [vue(), vueJsx],
|
plugins: [vue(), vueJsx()],
|
||||||
build: {
|
build: {
|
||||||
cssCodeSplit: false,
|
cssCodeSplit: false,
|
||||||
outDir: "lib",
|
outDir: "lib",
|
||||||
|
@ -14,7 +14,7 @@ export default (): UserConfigExport => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
plugins: [vue(), vueJsx],
|
plugins: [vue(), vueJsx()],
|
||||||
build: {
|
build: {
|
||||||
cssCodeSplit: false,
|
cssCodeSplit: false,
|
||||||
outDir: "umd",
|
outDir: "umd",
|
||||||
|
Loading…
Reference in New Issue
Block a user