mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 16:43:57 +00:00
This enables core-js modules for proposals marked as finished between core-js 3.0 and 3.6. It’s recommended upstream, although it has no current effect for us. The PROVISION_VERSION bump is skipped because there is no actual dependency change. Signed-off-by: Anders Kaseorg <anders@zulip.com>
18 lines
395 B
JavaScript
18 lines
395 B
JavaScript
"use strict";
|
||
|
||
module.exports = {
|
||
presets: [
|
||
[
|
||
"@babel/preset-env",
|
||
{
|
||
corejs: "3.6",
|
||
loose: true, // Loose mode for…of loops are 5× faster in Firefox
|
||
shippedProposals: true,
|
||
useBuiltIns: "usage",
|
||
},
|
||
],
|
||
"@babel/typescript",
|
||
],
|
||
sourceType: "unambiguous",
|
||
};
|