diff --git a/babel.config.js b/babel.config.js deleted file mode 100644 index 92e5eec1ce..0000000000 --- a/babel.config.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - presets: [["@babel/preset-env", { targets: { node: "current" } }]], - plugins: [["babel-plugin-styled-components", { displayName: true }]], -}; diff --git a/babel.config.json b/babel.config.json new file mode 100644 index 0000000000..4618bb8037 --- /dev/null +++ b/babel.config.json @@ -0,0 +1,20 @@ +{ + "presets": [ + [ + "@babel/preset-env", + { + "targets": { + "node": "current" + } + } + ] + ], + "plugins": [ + [ + "babel-plugin-styled-components", + { + "displayName": true + } + ] + ] +} diff --git a/jest.config.js b/jest.config.js index 1b32f1794f..45a5e6dae0 100644 --- a/jest.config.js +++ b/jest.config.js @@ -11,7 +11,7 @@ const config = { "\\.jsx?$": [ "babel-jest", { - configFile: "./babel.config.js", + configFile: "./babel.config.json", }, ], },