diff --git a/.babelrc b/.babelrc
deleted file mode 100644
index 01933494c267ee9640051612da151551908ec051..0000000000000000000000000000000000000000
--- a/.babelrc
+++ /dev/null
@@ -1,10 +0,0 @@
-{
-  "presets": ["@babel/preset-env", "@babel/preset-react"],
-  "plugins": [
-    "@babel/plugin-transform-runtime",
-    "transform-react-remove-prop-types",
-    ["lodash", { "id": [
-      "lodash",
-      ]}
-    ]],
-}
diff --git a/babel.config.js b/babel.config.js
new file mode 100644
index 0000000000000000000000000000000000000000..a8748cc27f832788301025073723e0ea5467ea9a
--- /dev/null
+++ b/babel.config.js
@@ -0,0 +1,19 @@
+module.exports = function (api) {
+  api.cache(true);
+
+  const presets = ['@babel/preset-env', '@babel/preset-react'];
+  const plugins = [
+    '@babel/plugin-transform-runtime',
+    'transform-react-remove-prop-types',
+    ['lodash', {
+      id: [
+        'lodash',
+      ],
+    },
+    ]];
+
+  return {
+    plugins,
+    presets,
+  };
+};