mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Exclude core-js es.array.push
polyfill (#16091)
GitOrigin-RevId: 65510e7d54c0f5165dce7605d67d352b8974eadf
This commit is contained in:
parent
cbe87e89b9
commit
82499334a1
1 changed files with 3 additions and 1 deletions
|
@ -5,7 +5,9 @@
|
||||||
{
|
{
|
||||||
"useBuiltIns": "usage",
|
"useBuiltIns": "usage",
|
||||||
// This version must be aligned with the `core-js` version in `package.json`
|
// This version must be aligned with the `core-js` version in `package.json`
|
||||||
"corejs": { "version": "3.30" }
|
"corejs": { "version": "3.30" },
|
||||||
|
// Exclude Array.prototype.push polyfill, as it's not needed and affects performance in Chrome
|
||||||
|
"exclude": ["es.array.push"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
["@babel/react", { "runtime": "automatic" }],
|
["@babel/react", { "runtime": "automatic" }],
|
||||||
|
|
Loading…
Reference in a new issue