diff --git a/babel.config.js b/babel.config.js index b07829909..76dcd1ae9 100644 --- a/babel.config.js +++ b/babel.config.js @@ -70,6 +70,12 @@ module.exports = function(api) { { async: false } + ], + [ + "@babel/plugin-transform-spread", + { + "loose": true + } ] ].filter(Boolean) }