diff --git a/vite.config.js b/vite.config.js index 248ef4f7..d043ec83 100644 --- a/vite.config.js +++ b/vite.config.js @@ -9,6 +9,11 @@ const commonConfig = { esbuildOptions: {}, }, plugins: [react()], + babel: { + plugins: [ + ['@babel/plugin-transform-react-jsx', { runtime: 'automatic' }], + ] + }, build: { chunkSizeWarningLimit: 100000000, rollupOptions: {