overleaf/services/web/.babelrc
Miguel Serrano b573374d0e Merge pull request #2950 from overleaf/as-jsdom-tests
JSDOM tests

GitOrigin-RevId: d9e39c61fb2028c5b5577488d74720ef2985eebc
2020-07-11 02:04:35 +00:00

20 lines
No EOL
374 B
Text

{
"presets": [
"@babel/react",
["@babel/env", {
"useBuiltIns": "usage",
"corejs": { "version": 3 }
}]
],
"plugins": ["angularjs-annotate"],
// Disable core-js polyfilling in test environment, to prevent interference
// with mocking
"env": {
"test": {
"presets": [
"@babel/react",
"@babel/env"
]
}
}
}