From d68fa37c40310d748e24fd61bb21b95fa2ef4da1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20G=C3=BCnther?= Date: Mon, 25 Oct 2021 22:59:04 +0200 Subject: [PATCH] Fix: Adjust babel config to make semantic release work --- .babelrc | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/.babelrc b/.babelrc index 7f0c374..567e658 100644 --- a/.babelrc +++ b/.babelrc @@ -1,7 +1,20 @@ { - "presets": ["@babel/preset-react", "@babel/preset-env"], - "plugins": [ - ["@babel/plugin-proposal-decorators", { "legacy": true }], - "@babel/plugin-proposal-class-properties" - ] + "presets": [ + "@babel/preset-react", + [ + "@babel/preset-env", + { + "useBuiltIns": "usage", + "corejs": "3.0.0", + "targets": { + "esmodules": true, + "ie": "11" + } + } + ] + ], + "plugins": [ + ["@babel/plugin-proposal-decorators", { "legacy": true }], + "@babel/plugin-proposal-class-properties" + ] }