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"],
|
2023-06-29 21:59:08 +02:00
|
|
|
overrideIdFn: (_id, defaultMessage) => defaultMessage,
|
2021-04-10 03:11:59 +02:00
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
2019-10-12 07:50:57 +02:00
|
|
|
presets: [
|
|
|
|
[
|
|
|
|
"@babel/preset-env",
|
|
|
|
{
|
2023-12-07 22:28:03 +01:00
|
|
|
corejs: "3.34",
|
2023-08-02 19:49:35 +02:00
|
|
|
include: ["transform-optional-chaining"],
|
2020-10-04 00:22:55 +02:00
|
|
|
shippedProposals: true,
|
2019-10-12 07:50:57 +02:00
|
|
|
useBuiltIns: "usage",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"@babel/typescript",
|
|
|
|
],
|
|
|
|
sourceType: "unambiguous",
|
|
|
|
};
|