diff --git a/vite.config.ts b/vite.config.ts index 0b24861..1701296 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -16,7 +16,7 @@ export default defineConfig({ fileName: 'mapkit-react', }, rollupOptions: { - external: ['react', 'react-dom'], + external: ['react', 'react/jsx-runtime', 'react-dom', 'react-dom/client'], output: { globals: { react: 'React',