2020-07-13 10:36:38 +02:00
|
|
|
/* global module */
|
|
|
|
module.exports = {
|
|
|
|
plugins: [
|
|
|
|
'@babel/plugin-transform-runtime',
|
2022-05-09 11:34:28 +02:00
|
|
|
'@babel/plugin-proposal-class-properties',
|
|
|
|
'@babel/plugin-proposal-private-property-in-object',
|
2022-12-12 10:28:06 +01:00
|
|
|
'@babel/plugin-proposal-nullish-coalescing-operator',
|
2020-07-13 10:36:38 +02:00
|
|
|
],
|
2021-07-13 10:01:04 +02:00
|
|
|
presets: [
|
|
|
|
[
|
|
|
|
'@babel/preset-env',
|
|
|
|
{
|
|
|
|
useBuiltIns: 'usage',
|
|
|
|
corejs: 3,
|
2023-02-03 13:06:21 +01:00
|
|
|
targets: 'defaults', // browserlist's defaults - https://github.com/browserslist/browserslist#full-list
|
2021-07-13 10:01:04 +02:00
|
|
|
},
|
|
|
|
],
|
2022-10-17 19:30:31 +02:00
|
|
|
[
|
|
|
|
'@babel/preset-react',
|
|
|
|
{
|
|
|
|
runtime: 'automatic',
|
|
|
|
},
|
|
|
|
],
|
2021-07-13 10:01:04 +02:00
|
|
|
'@babel/typescript',
|
|
|
|
],
|
2020-07-13 10:36:38 +02:00
|
|
|
}
|