2020-01-10 03:14:50 +03:00
|
|
|
module.exports = {
|
2019-12-13 00:37:14 +03:00
|
|
|
sourceMaps: "inline",
|
2019-03-28 19:22:17 +03:00
|
|
|
presets: [
|
2019-12-13 00:37:14 +03:00
|
|
|
[
|
|
|
|
"@babel/preset-env",
|
|
|
|
{
|
2020-01-28 17:19:06 +03:00
|
|
|
targets: [
|
2021-03-05 16:19:06 +03:00
|
|
|
"last 2 Chrome versions",
|
|
|
|
"last 2 Firefox versions",
|
|
|
|
"last 2 Safari versions",
|
|
|
|
"last 2 Edge versions",
|
2020-01-28 17:19:06 +03:00
|
|
|
],
|
2024-08-01 19:14:28 +03:00
|
|
|
include: ["@babel/plugin-transform-class-properties"],
|
2019-12-13 00:37:14 +03:00
|
|
|
},
|
|
|
|
],
|
2024-08-01 19:14:28 +03:00
|
|
|
["@babel/preset-typescript", { allowDeclareFields: true }],
|
2021-03-05 16:19:06 +03:00
|
|
|
"@babel/preset-react",
|
2019-03-28 19:22:17 +03:00
|
|
|
],
|
|
|
|
plugins: [
|
2019-12-20 04:02:25 +03:00
|
|
|
"@babel/plugin-proposal-export-default-from",
|
2024-06-19 11:47:47 +03:00
|
|
|
"@babel/plugin-transform-numeric-separator",
|
|
|
|
"@babel/plugin-transform-object-rest-spread",
|
2019-12-13 00:37:14 +03:00
|
|
|
"@babel/plugin-syntax-dynamic-import",
|
2021-03-05 16:19:06 +03:00
|
|
|
"@babel/plugin-transform-runtime",
|
|
|
|
],
|
2020-01-10 03:14:50 +03:00
|
|
|
};
|