mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
build(cli): update jsx plugin
This commit is contained in:
@@ -18,12 +18,6 @@ module.exports = function(api?: ConfigAPI) {
|
||||
modules: useESModules ? false : 'commonjs',
|
||||
},
|
||||
],
|
||||
[
|
||||
'@vue/babel-preset-jsx',
|
||||
{
|
||||
functional: false,
|
||||
},
|
||||
],
|
||||
'@babel/preset-typescript',
|
||||
],
|
||||
plugins: [
|
||||
@@ -43,6 +37,7 @@ module.exports = function(api?: ConfigAPI) {
|
||||
},
|
||||
'vant',
|
||||
],
|
||||
'@ant-design-vue/babel-plugin-jsx',
|
||||
'@babel/plugin-transform-object-assign',
|
||||
],
|
||||
};
|
||||
|
Reference in New Issue
Block a user