diff --git a/astro.config.mjs b/astro.config.mjs index b7ba990..c5a9652 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -10,4 +10,12 @@ export default defineConfig({ output: "server", adapter: cloudflare(), integrations: [react()], -}); \ No newline at end of file + vite: { + resolve: { + alias: { + "react-dom/server": "react-dom/server", + "react-dom/server.browser": "react-dom/server", + }, + }, + }, +});