This commit is contained in:
2025-09-03 15:40:23 -03:00
parent 675c1f83a5
commit eee21b8d52

View File

@@ -1,4 +1,4 @@
// frontend/vite.config.ts
// Elecciones-Web/frontend/vite.config.ts
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
@@ -6,12 +6,12 @@ export default defineConfig({
plugins: [react()],
build: {
outDir: 'dist',
manifest: true, // ¡Crucial! Le dice a Vite que genere el manifest.json
manifest: 'manifest.json',
},
server: {
proxy: {
'/api': {
target: 'http://localhost:5217', // Ajuste el puerto si es diferente
target: 'http://localhost:5217',
changeOrigin: true,
},
}