Fix babel configuration
This commit is contained in:
parent
33f2446a2d
commit
7ade6a7fc9
1 changed files with 10 additions and 12 deletions
16
.babelrc
16
.babelrc
|
@ -1,14 +1,12 @@
|
|||
{
|
||||
"env": {
|
||||
"development": {
|
||||
"presets": [
|
||||
["env", { "modules": false }]
|
||||
]
|
||||
},
|
||||
"test": {
|
||||
"presets": [
|
||||
["env", { "targets": { "node": "current" }}]
|
||||
]
|
||||
[
|
||||
"env",
|
||||
{
|
||||
"targets": {
|
||||
"browsers": ["> 1%", "last 2 versions", "not ie <= 11"]
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue