Use correct babel configuration

Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
This commit is contained in:
Raimund Schlüßler 2021-06-14 21:26:20 +02:00
parent f53787db27
commit d83e91e29e
No known key found for this signature in database
GPG Key ID: 036FA7EB1A599178
2 changed files with 3 additions and 11 deletions

View File

@ -1,11 +0,0 @@
module.exports = {
plugins: [
'@babel/plugin-syntax-dynamic-import',
'@babel/plugin-proposal-object-rest-spread'
],
presets: [
[
'@babel/preset-env'
]
]
}

3
babel.config.js Normal file
View File

@ -0,0 +1,3 @@
const babelConfig = require('@nextcloud/babel-config')
module.exports = babelConfig