diff --git a/babel.config.js b/babel.config.js index 49863f888..14c912fd3 100644 --- a/babel.config.js +++ b/babel.config.js @@ -13,7 +13,7 @@ module.exports = function babelConfig(api) { "@babel/preset-env", { useBuiltIns: false, // use the full lib to make sure vendor bundle stays stable - targets: "cover 95%", + targets: !api.env('test') ? "cover 95%" : { node: 'current' }, bugfixes: true } ],