overleaf/services/web/.babelrc
Timothée Alby 3f99a5ca73 Merge pull request #3157 from overleaf/ta-outline-item-tests
Outline Item Tests

GitOrigin-RevId: fa8c564ce75e3abfa9b977691635392e87cdde81
2020-09-16 02:04:31 +00:00

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 }
}]
]
}
}
}