diff --git a/babel.config.js b/babel.config.js index 0b3f1cb383..8e58e2cf9a 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,7 +1,7 @@ module.exports = { presets: [ - ["@babel/preset-env", { loose: true }], - "@babel/preset-react", - "@babel/preset-typescript", + ['@babel/preset-env', { loose: true }], + ['@babel/preset-react', { runtime: 'automatic' }], + '@babel/preset-typescript', ], }