const config = () => { return { presets: ['@babel/preset-env', ['@babel/preset-react', { runtime: 'automatic' }], '@babel/preset-typescript'], plugins: ['@babel/plugin-transform-runtime'], }; }; export default config;