Update Babel config
This commit is contained in:
parent
f88096a15f
commit
7072481f90
8
.babelrc
8
.babelrc
|
|
@ -1,9 +1,6 @@
|
|||
{
|
||||
"presets": [
|
||||
["@babel/env", {
|
||||
"targets": {
|
||||
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
|
||||
},
|
||||
"modules": false,
|
||||
"useBuiltIns": "usage"
|
||||
}]
|
||||
|
|
@ -15,7 +12,10 @@
|
|||
"env": {
|
||||
"test": {
|
||||
"presets": [
|
||||
["@babel/env", { "targets": { "node": "current" } }]
|
||||
["@babel/env", {
|
||||
"targets": { "node": "current" },
|
||||
"ignoreBrowserslistConfig": true
|
||||
}]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user