diff --git a/packages/ui-react/vite.config.ts b/packages/ui-react/vite.config.ts index ac65a58c..5add8a40 100644 --- a/packages/ui-react/vite.config.ts +++ b/packages/ui-react/vite.config.ts @@ -35,7 +35,7 @@ export default defineConfig({ } }, rollupOptions: { - external: ['react', 'react-dom', '@tonconnect/ui'], + external: ['react', 'react/jsx-runtime', 'react-dom', 'react-dom/client', '@tonconnect/ui'], output: { globals: { react: 'React',