mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Set node target to 10 and format .babelrc
This commit is contained in:
parent
549b211372
commit
873e73860d
16
.babelrc
16
.babelrc
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user