mirror of
https://github.com/acedanger/finance.git
synced 2025-12-05 22:50:12 -08:00
feat: Add Vite configuration with alias for React DOM server
This commit is contained in:
@@ -10,4 +10,12 @@ export default defineConfig({
|
|||||||
output: "server",
|
output: "server",
|
||||||
adapter: cloudflare(),
|
adapter: cloudflare(),
|
||||||
integrations: [react()],
|
integrations: [react()],
|
||||||
});
|
vite: {
|
||||||
|
resolve: {
|
||||||
|
alias: {
|
||||||
|
"react-dom/server": "react-dom/server",
|
||||||
|
"react-dom/server.browser": "react-dom/server",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user