Amour1688
4 years ago
5 changed files with 22 additions and 24 deletions
@ -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