Skip to content

Commit

Permalink
[NPM package] Fix babel build
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Jul 22, 2023
1 parent 49df941 commit e4ee909
Show file tree
Hide file tree
Showing 3 changed files with 154 additions and 1,249 deletions.
2 changes: 1 addition & 1 deletion npm-package/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = (api) => {
api.cache(true);
return {
presets: [['env', { targets: { node: '12' } }]],
presets: [['@babel/preset-env', { targets: { node: '12' } }]],
};
};
2 changes: 1 addition & 1 deletion npm-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"semver": "^5.4.1"
},
"devDependencies": {
"babel-cli": "^6.24.0",
"@babel/cli": "^7.22.9",
"fs-extra": "^4.0.2",
"node-fetch": "^2.6.1"
}
Expand Down
Loading

0 comments on commit e4ee909

Please sign in to comment.