2018-09-10 10:02:26 +00:00
|
|
|
module.exports = {
|
2019-05-23 15:03:04 +00:00
|
|
|
plugins: [
|
|
|
|
'@babel/plugin-syntax-dynamic-import',
|
2021-07-23 11:43:46 +00:00
|
|
|
'@babel/plugin-proposal-class-properties',
|
2019-05-23 15:03:04 +00:00
|
|
|
],
|
2018-09-10 10:02:26 +00:00
|
|
|
presets: [
|
2022-12-01 13:34:23 +00:00
|
|
|
// https://babeljs.io/docs/en/babel-preset-typescript
|
|
|
|
'@babel/preset-typescript',
|
2018-09-10 10:02:26 +00:00
|
|
|
[
|
|
|
|
'@babel/preset-env',
|
|
|
|
{
|
2020-03-10 08:58:52 +00:00
|
|
|
useBuiltIns: false,
|
2023-01-13 16:32:57 +00:00
|
|
|
modules: 'auto',
|
2020-04-02 08:53:41 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
}
|