Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
Fix NPM package on Node10
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Jul 5, 2020
1 parent 4e18770 commit 9244b20
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .babelrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"presets": [["@babel/preset-env", { "targets": { "node": "current" } }]],
"presets": [["@babel/preset-env", { "targets": { "node": "10" } }]],
"plugins": [
"./resources/load-statically-from-npm.js",
"@babel/plugin-transform-flow-strip-types"
],
"overrides": [
{
"include": ["**/__tests__/**/*"],
"presets": [["@babel/preset-env", { "targets": { "node": "current" } }]]
}
]
}

0 comments on commit 9244b20

Please sign in to comment.