mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-27 14:02:00 +00:00
3f99a5ca73
Outline Item Tests GitOrigin-RevId: fa8c564ce75e3abfa9b977691635392e87cdde81
24 lines
524 B
Text
24 lines
524 B
Text
{
|
|
"presets": [
|
|
"@babel/react",
|
|
["@babel/env", {
|
|
"useBuiltIns": "usage",
|
|
"corejs": { "version": 3 }
|
|
}]
|
|
],
|
|
"plugins": ["angularjs-annotate"],
|
|
// Target our current Node version in test environment, to transform and
|
|
// polyfill only what's necessary
|
|
"env": {
|
|
"test": {
|
|
"presets": [
|
|
"@babel/react",
|
|
["@babel/env", {
|
|
"targets": {"node": "10.21"},
|
|
"useBuiltIns": "usage",
|
|
"corejs": { "version": 3 }
|
|
}]
|
|
]
|
|
}
|
|
}
|
|
}
|