Skip to content

Commit

Permalink
move babel config to babel.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kristianmandrup committed Jan 14, 2022
1 parent b393949 commit 5354a82
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
13 changes: 13 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// babel.config.js
module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: {
node: 'current',
},
},
],
],
};
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
"jest": "^27.4.5",
"microbundle": "^0.14.2"
},
"babel": {
"presets": [
"@babel/preset-env"
]
},
"keywords": [
"yup",
"json",
Expand Down

0 comments on commit 5354a82

Please sign in to comment.