From a2ef39ea10f371400f6d469d5df659d246a867d1 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 28 Feb 2024 17:37:34 +0100 Subject: [PATCH] Move babel config to separate file --- .babelrc.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .babelrc.json diff --git a/.babelrc.json b/.babelrc.json new file mode 100644 index 000000000..fe63b8a84 --- /dev/null +++ b/.babelrc.json @@ -0,0 +1,15 @@ +{ + "plugins": [ + "@babel/plugin-transform-class-properties", + "@babel/plugin-transform-object-rest-spread" + ], + "presets": [ + [ + "@babel/preset-env", + { + "modules": false + } + ], + "@babel/preset-react" + ] +}