diff --git a/packages/react-to-web-component/vite.config.ts b/packages/react-to-web-component/vite.config.ts index 78d672c..14eb7d5 100644 --- a/packages/react-to-web-component/vite.config.ts +++ b/packages/react-to-web-component/vite.config.ts @@ -10,7 +10,7 @@ export default defineConfig({ formats: ["es", "cjs"], }, rollupOptions: { - external: ["react", "react-dom", "@r2wc/core"], + external: ["react", "react-dom/client", "@r2wc/core"], }, }, plugins: [dts()],