Skip to content

Commit

Permalink
fix(ie11, node12): fixed ie11 and node 12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
BowlingX committed Mar 5, 2021
1 parent 57b150d commit 36023b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 1 addition & 6 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@ module.exports = {
presets: [
'@babel/typescript',
[
'@babel/preset-env',
{
targets: {
node: process.versions.node,
},
},
'@babel/preset-env'
]
],
plugins: [
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@
"lodash": "^4.17.21"
},
"engines": {
"node": ">=8"
"node": ">=12"
},
"targets": {
"chrome": "58",
"ie": "11",
"node": "12"
}
}

0 comments on commit 36023b5

Please sign in to comment.