Skip to content

Commit

Permalink
chore: upgrade babel
Browse files Browse the repository at this point in the history
  • Loading branch information
KagamiChan committed Jan 16, 2021
1 parent f131e62 commit 309d133
Show file tree
Hide file tree
Showing 4 changed files with 1,469 additions and 1,033 deletions.
4 changes: 2 additions & 2 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
presets: ["es2017-node7"],
plugins: ["add-module-exports"],
presets: [["@babel/preset-env", {targets : { node: "14" }}]],
plugins: [require.resolve('babel-plugin-add-module-exports')],
cache: false,
}
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
require('babel-register')(require('./babel.config'))
require('@babel/register')(require('./babel.config'))
require('./app')
Loading

0 comments on commit 309d133

Please sign in to comment.