mirror of
https://github.com/SrIzan10/mainwebsite.git
synced 2026-06-06 00:56:58 +00:00
fix: cloudflare deployments
This commit is contained in:
@@ -76,6 +76,11 @@ export default defineConfig({
|
||||
|
||||
vite: {
|
||||
plugins: [tailwindcss()],
|
||||
resolve: {
|
||||
alias: import.meta.env.PROD ? {
|
||||
"react-dom/server": "react-dom/server.edge",
|
||||
} : undefined,
|
||||
},
|
||||
},
|
||||
|
||||
server: {
|
||||
|
||||
Reference in New Issue
Block a user