mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-14 23:35:31 +00:00
Merge pull request #8014 from overleaf/ae-babel-test-env
Remove test environment from Babel config GitOrigin-RevId: c812e534e82e57bfdf759b04b9753565a7781ea2
This commit is contained in:
parent
d0d78b7c48
commit
f00bdeb3f1
1 changed files with 1 additions and 20 deletions
|
@ -11,24 +11,5 @@
|
|||
["@babel/react", { "runtime": "automatic" }],
|
||||
"@babel/typescript"
|
||||
],
|
||||
"plugins": ["angularjs-annotate", "macros"],
|
||||
// Target our current Node version in test environment, to transform and
|
||||
// polyfill only what's necessary
|
||||
"env": {
|
||||
"test": {
|
||||
"presets": [
|
||||
[
|
||||
"@babel/env",
|
||||
{
|
||||
"targets": { "node": "current" },
|
||||
"useBuiltIns": "usage",
|
||||
// This version must be aligned with the `core-js` version in `package.json`
|
||||
"corejs": { "version": 3.6 }
|
||||
}
|
||||
],
|
||||
["@babel/react", { "runtime": "automatic" }],
|
||||
"@babel/typescript"
|
||||
]
|
||||
}
|
||||
}
|
||||
"plugins": ["angularjs-annotate", "macros"]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue