Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
fix(babel): added corejs version
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanGerbeth committed Aug 3, 2019
1 parent 3116d25 commit defb147
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,27 @@
"env": {
"development": {
"presets": [
"@babel/preset-env"
[
"@babel/preset-env",
{
"corejs": "2",
"useBuiltIns": "usage"
}
]
],
"plugins": [
"istanbul"
]
},
"production": {
"presets": [
"@babel/preset-env",
[
"@babel/preset-env",
{
"corejs": "2",
"useBuiltIns": "usage"
}
],
"minify"
],
"plugins": [
Expand Down

0 comments on commit defb147

Please # to comment.