Skip to content

Commit

Permalink
fix: suppress node14 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
KagamiChan committed Jan 17, 2021
1 parent 152e179 commit 9e4935f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module.exports = {
presets: [["@babel/preset-env", {targets : { node: "14" }}]],
plugins: [require.resolve('babel-plugin-add-module-exports')],
cache: false,
}
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
require('@babel/register')(require('./babel.config'))
require('@babel/register')({
cache: false,
})

require('./app')

0 comments on commit 9e4935f

Please sign in to comment.