Skip to content

Commit

Permalink
Fix Babel preset configuration for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo committed Sep 6, 2018
1 parent 3a3395b commit 06a2231
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/babel-preset-default/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ module.exports = function( api ) {
},
} ],
isTestEnv && [ '@babel/preset-env', {
targets: {
node: 'current',
},
useBuiltIns: 'usage',
} ],
].filter( Boolean ),
plugins: [
Expand Down

0 comments on commit 06a2231

Please sign in to comment.