Change babel targets

pull/37/head
Varun Patil 2022-09-12 11:19:01 -07:00
parent e363e4e90f
commit 9e898d5bb5
1 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,15 @@
const babelConfig = require('@nextcloud/babel-config')
module.exports = babelConfig
module.exports = {
plugins: [
'@babel/plugin-syntax-dynamic-import',
],
presets: [
[
'@babel/preset-env',
{
"targets": "> 5%, not dead",
useBuiltIns: false,
modules: 'auto',
},
],
],
}