Skip to content

Commit

Permalink
fix(.babelrc): Change configuration to support IE11 and above (#984)
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-f-medeiros authored and swederik committed Jul 9, 2019
1 parent cc6ba5e commit 08096b9
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 25 deletions.
51 changes: 27 additions & 24 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
{
"presets": [
"@babel/preset-env"
],
"plugins": [
[
"@babel/plugin-transform-runtime",
{
"corejs": false,
"helpers": true,
"regenerator": true,
"useESModules": false
}
]
],
"env": {
"test": {
"presets": [
[
"@babel/preset-env"
]
]
}
}
}
"presets": [
[
"@babel/preset-env",
{
"targets": {
"ie": "11"
}
}
]
],
"plugins": [
[
"@babel/plugin-transform-runtime",
{
"corejs": false,
"helpers": true,
"regenerator": true,
"useESModules": false
}
]
],
"env": {
"test": {
"presets": [["@babel/preset-env"]]
}
}
}
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,11 @@
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}

0 comments on commit 08096b9

Please sign in to comment.