diff --git a/babel.config.js b/babel.config.js index 016cb1861..b519a4df8 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,6 +1,7 @@ module.exports = { presets: [ '@babel/preset-env', + '@babel/preset-react', ], plugins: [ '@babel/plugin-proposal-nullish-coalescing-operator', diff --git a/package.json b/package.json index 8fdf51b2f..eee562701 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.13", "@babel/plugin-proposal-optional-chaining": "^7.12.17", "@babel/preset-env": "^7.12.17", + "@babel/preset-react": "^7.12.13", "@lerna/batch-packages": "^3.16.0", "@lerna/filter-packages": "^3.18.0", "@lerna/project": "^3.21.0",