aboutsummaryrefslogtreecommitdiffstats
path: root/babel.config.js
blob: 0cbaa9396cbbf0fc05a2c4f95b5899575f8c3e62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
 * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
module.exports = {
	plugins: [
		'@babel/plugin-syntax-dynamic-import',
		'@babel/plugin-proposal-class-properties',
	],
	presets: [
		// https://babeljs.io/docs/en/babel-preset-typescript
		'@babel/preset-typescript',
		[
			'@babel/preset-env',
			{
				useBuiltIns: false,
				modules: 'auto',
			},
		],
	],
}