Set node target to 10 and format .babelrc

This commit is contained in:
Grzegorz Leoniec 2019-02-09 09:33:44 +01:00
parent 549b211372
commit 873e73860d
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377

View File

@ -1,11 +1,23 @@
{
"presets": [
["@babel/preset-env", { "modules": false }]
[
"@babel/preset-env",
{
"modules": false
}
]
],
"env": {
"test": {
"presets": [
["@babel/preset-env", { "targets": { "node": "current" }}]
[
"@babel/preset-env",
{
"targets": {
"node": "10"
}
}
]
]
}
}