mirror of https://github.com/zulip/zulip.git
27 lines
597 B
JavaScript
27 lines
597 B
JavaScript
"use strict";
|
|
|
|
module.exports = {
|
|
plugins: [
|
|
[
|
|
"formatjs",
|
|
{
|
|
additionalFunctionNames: ["$t", "$t_html"],
|
|
overrideIdFn: (_id, defaultMessage) => defaultMessage,
|
|
},
|
|
],
|
|
],
|
|
presets: [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
corejs: "3.37",
|
|
include: ["transform-optional-chaining"],
|
|
shippedProposals: true,
|
|
useBuiltIns: "usage",
|
|
},
|
|
],
|
|
"@babel/typescript",
|
|
],
|
|
sourceType: "unambiguous",
|
|
};
|