mirror of https://github.com/zulip/zulip.git
27 lines
621 B
JavaScript
27 lines
621 B
JavaScript
"use strict";
|
||
|
||
module.exports = {
|
||
plugins: [
|
||
[
|
||
"formatjs",
|
||
{
|
||
additionalFunctionNames: ["$t", "$t_html"],
|
||
overrideIdFn: (id, defaultMessage) => defaultMessage,
|
||
},
|
||
],
|
||
],
|
||
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",
|
||
};
|