2020-08-01 03:43:15 +02:00
|
|
|
|
"use strict";
|
|
|
|
|
|
2019-10-12 07:50:57 +02:00
|
|
|
|
module.exports = {
|
2021-04-10 03:11:59 +02:00
|
|
|
|
plugins: [
|
|
|
|
|
[
|
|
|
|
|
"formatjs",
|
|
|
|
|
{
|
|
|
|
|
additionalFunctionNames: ["$t", "$t_html"],
|
|
|
|
|
overrideIdFn: (id, defaultMessage) => defaultMessage,
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
],
|
2019-10-12 07:50:57 +02:00
|
|
|
|
presets: [
|
|
|
|
|
[
|
|
|
|
|
"@babel/preset-env",
|
|
|
|
|
{
|
2022-01-24 08:23:22 +01:00
|
|
|
|
corejs: "3.19",
|
2020-07-16 23:29:01 +02:00
|
|
|
|
loose: true, // Loose mode for…of loops are 5× faster in Firefox
|
2020-10-04 00:22:55 +02:00
|
|
|
|
shippedProposals: true,
|
2019-10-12 07:50:57 +02:00
|
|
|
|
useBuiltIns: "usage",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
"@babel/typescript",
|
|
|
|
|
],
|
|
|
|
|
sourceType: "unambiguous",
|
|
|
|
|
};
|