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