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