parent
fb845f2b72
commit
e03d442542
@ -1,17 +0,0 @@
|
||||
{
|
||||
"env": {
|
||||
"test": {
|
||||
"presets": [["@babel/preset-env", { "targets": { "node": true } }]],
|
||||
"plugins": [
|
||||
["@ant-design-vue/babel-plugin-jsx", { "usePatchFlag": false }],
|
||||
"@babel/plugin-proposal-optional-chaining",
|
||||
"@babel/plugin-transform-object-assign",
|
||||
"@babel/plugin-proposal-object-rest-spread",
|
||||
"@babel/plugin-proposal-export-default-from",
|
||||
"@babel/plugin-proposal-class-properties",
|
||||
"@babel/plugin-syntax-dynamic-import",
|
||||
"@babel/plugin-transform-runtime"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
module.exports = {
|
||||
env: {
|
||||
test: {
|
||||
presets: [['@babel/preset-env', { targets: { node: true } }]],
|
||||
plugins: [
|
||||
['@ant-design-vue/babel-plugin-jsx'],
|
||||
'@babel/plugin-proposal-optional-chaining',
|
||||
'@babel/plugin-transform-object-assign',
|
||||
'@babel/plugin-proposal-object-rest-spread',
|
||||
'@babel/plugin-proposal-export-default-from',
|
||||
'@babel/plugin-proposal-class-properties',
|
||||
'@babel/plugin-syntax-dynamic-import',
|
||||
'@babel/plugin-transform-runtime',
|
||||
],
|
||||
},
|
||||
},
|
||||
};
|
Loading…
Reference in new issue