diff --git a/babel.config.js b/babel.config.js index 1bcd0ac..958a4ef 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,8 +1,6 @@ -module.exports = (api) => ({ +// For testing with Jest +module.exports = { presets: [['@babel/preset-env', { - targets: { - node: 'current', - esmodules: !api.env('NODE_TEST'), - }, + targets: {node: 'current'}, }]], -}); +};