From 9e898d5bb50d49a79ac73f469279043212c5871a Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Mon, 12 Sep 2022 11:19:01 -0700 Subject: [PATCH] Change babel targets --- babel.config.js | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/babel.config.js b/babel.config.js index 8be4fc38..6cc757f6 100644 --- a/babel.config.js +++ b/babel.config.js @@ -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', + }, + ], + ], +}