Configure Vercel deployment and preserve deployed theme support

This commit is contained in:
StormRunner06106
2026-09-13 14:56:10 -07:00
parent d52495945b
commit cb8d062481
27 changed files with 610 additions and 60 deletions
+3 -1
View File
@@ -3,6 +3,9 @@ import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
define: {
"import.meta.env.VITE_MAX_UPLOAD_MB": JSON.stringify(process.env.VERCEL === "1" ? 4 : 20),
},
server: {
port: 5173,
proxy: {
@@ -13,4 +16,3 @@ export default defineConfig({
},
},
});