From: =?utf-8?q?Bastien_Roucari=C3=A8s?= <rouca@debian.org>
Date: Wed, 8 Nov 2023 15:26:43 +0000
Subject: Do not use preset-env option

Avoid polyfill (not needed for debian) and option what could break

Forwarded: not-needed
---
 babel.config.js   | 3 ---
 webpack.config.js | 2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/babel.config.js b/babel.config.js
index bc93fa6..66d5b72 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -6,9 +6,6 @@ module.exports = {
       '@babel/preset-env',
       {
         modules: 'commonjs',
-        targets: "defaults",
-        useBuiltIns: 'usage',
-        corejs: 3,
       },
     ],
   ],
diff --git a/webpack.config.js b/webpack.config.js
index d2a9d53..b98ca10 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -26,7 +26,7 @@ module.exports = {
           loader : 'babel-loader',
           options: {
             presets: [
-              ['@babel/preset-env', { targets: "defaults" , "useBuiltIns": 'usage', "corejs": 3}]
+              ['@babel/preset-env']
             ],
           },
         },
