chore: update babel config

pull/4022/head
tanjinzhou 4 years ago
parent bec35d03aa
commit ee26acd9f7

@ -3,7 +3,7 @@ module.exports = {
test: { test: {
presets: [['@babel/preset-env', { targets: { node: true } }]], presets: [['@babel/preset-env', { targets: { node: true } }]],
plugins: [ plugins: [
['@vue/babel-plugin-jsx', { mergeProps: false }], ['@vue/babel-plugin-jsx', { mergeProps: false, enableObjectSlots: false }],
'@babel/plugin-proposal-optional-chaining', '@babel/plugin-proposal-optional-chaining',
'@babel/plugin-transform-object-assign', '@babel/plugin-transform-object-assign',
'@babel/plugin-proposal-object-rest-spread', '@babel/plugin-proposal-object-rest-spread',

@ -1 +1 @@
Subproject commit ee89a33312a7bb5c65c6080c12613b9ca1474aaf Subproject commit a7013ae87f69dcbcf547f4b023255b8a7a775557
Loading…
Cancel
Save