overleaf/services/web/babel.config.json
Alf Eaton 4b968017a0 Upgrade core-js to v3.30 (#13246)
GitOrigin-RevId: cfff35c53e4acdf712b311e0aa3bf674534b3131
2023-07-17 10:29:03 +00:00

22 lines
526 B
JSON

{
"presets": [
[
"@babel/env",
{
"useBuiltIns": "usage",
// This version must be aligned with the `core-js` version in `package.json`
"corejs": { "version": "3.30" }
}
],
["@babel/react", { "runtime": "automatic" }],
"@babel/typescript"
],
"plugins": ["angularjs-annotate", "macros"],
"overrides": [
// treat .cjs files (e.g. libraries symlinked into node_modules) as commonjs
{
"test": "../../**/*.cjs",
"sourceType": "script"
}
]
}