From f06cb85b54c0b66a3b6610916cbadeebda1b7096 Mon Sep 17 00:00:00 2001 From: Joonas Date: Wed, 25 Sep 2024 16:22:12 +0300 Subject: [PATCH] Restore babel file --- .babelrc | 5 +++++ babel.config.json | 25 ------------------------- 2 files changed, 5 insertions(+), 25 deletions(-) create mode 100644 .babelrc delete mode 100644 babel.config.json diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..a29ac99 --- /dev/null +++ b/.babelrc @@ -0,0 +1,5 @@ +{ + "presets": [ + "@babel/preset-env" + ] +} diff --git a/babel.config.json b/babel.config.json deleted file mode 100644 index 86a38f8..0000000 --- a/babel.config.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "presets": [ - [ - "@babel/preset-env", { - "forceAllTransforms": true, - "useBuiltIns": "entry", - "corejs": 3, - "modules": false - } - ], - ["@babel/preset-react"] - ], - "plugins": [ - "@babel/plugin-transform-classes", - [ - "@babel/plugin-transform-runtime", - { - "helpers": false, - "regenerator": true, - "corejs": false - } - ], - ["@babel/plugin-transform-regenerator", { "async": false }] - ] -}