From 2a32c4256f603d8b80c3d0a4718b91f7acccab0e Mon Sep 17 00:00:00 2001 From: stephanie rousset Date: Fri, 20 Sep 2024 10:45:10 +0200 Subject: [PATCH] feat: add babel files --- .babel.config.json | 15 +++++++++++++++ .babelrc | 5 +++++ 2 files changed, 20 insertions(+) create mode 100644 .babel.config.json create mode 100644 .babelrc diff --git a/.babel.config.json b/.babel.config.json new file mode 100644 index 0000000..9ee3bcb --- /dev/null +++ b/.babel.config.json @@ -0,0 +1,15 @@ +{ + "presets": [ + [ + "@babel/preset-env", { + "forceAllTransforms": true, + "useBuiltIns": "entry", + "corejs": 3, + "modules": false + } + ], + ], + "plugins": [ + "@babel/plugin-proposal-private-property-in-object" + ] +} 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" + ] +}