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

Commit

Permalink
babel: Switch to using babel-env
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed May 31, 2020
1 parent ac36170 commit 1791432
Show file tree
Hide file tree
Showing 3 changed files with 784 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .babelrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"presets": [["@babel/preset-env", { "targets": { "node": "current" } }]],
"plugins": [
"./resources/load-staticly-from-npm.js",
"@babel/plugin-transform-flow-strip-types",
"@babel/plugin-transform-modules-commonjs"
"@babel/plugin-transform-flow-strip-types"
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"devDependencies": {
"@babel/core": "7.10.2",
"@babel/plugin-transform-flow-strip-types": "7.10.1",
"@babel/plugin-transform-modules-commonjs": "7.10.1",
"@babel/preset-env": "^7.10.2",
"@babel/register": "7.10.1",
"@types/node": "12.12.7",
"babel-eslint": "10.0.3",
Expand Down
Loading

0 comments on commit 1791432

Please sign in to comment.