Skip to content

Commit

Permalink
update babel config
Browse files Browse the repository at this point in the history
  • Loading branch information
federicocarboni committed Dec 23, 2023
1 parent b1cdc00 commit f1842ec
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -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'},
}]],
});
};

0 comments on commit f1842ec

Please sign in to comment.