2024-05-09 20:20:32 +02:00
|
|
|
/**
|
|
|
|
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
*/
|
2018-09-10 12:02:26 +02:00
|
|
|
module.exports = {
|
2019-05-23 17:03:04 +02:00
|
|
|
plugins: [
|
|
|
|
'@babel/plugin-syntax-dynamic-import',
|
2021-07-23 13:43:46 +02:00
|
|
|
'@babel/plugin-proposal-class-properties',
|
2019-05-23 17:03:04 +02:00
|
|
|
],
|
2018-09-10 12:02:26 +02:00
|
|
|
presets: [
|
2022-12-01 14:34:23 +01:00
|
|
|
// https://babeljs.io/docs/en/babel-preset-typescript
|
|
|
|
'@babel/preset-typescript',
|
2018-09-10 12:02:26 +02:00
|
|
|
[
|
|
|
|
'@babel/preset-env',
|
|
|
|
{
|
2020-03-10 09:58:52 +01:00
|
|
|
useBuiltIns: false,
|
2023-01-13 17:32:57 +01:00
|
|
|
modules: 'auto',
|
2020-04-02 10:53:41 +02:00
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
}
|