2025-09-03 15:40:23 -03:00
|
|
|
// Elecciones-Web/frontend/vite.config.ts
|
2025-08-14 15:27:45 -03:00
|
|
|
import { defineConfig } from 'vite'
|
|
|
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
plugins: [react()],
|
2025-09-03 13:49:35 -03:00
|
|
|
build: {
|
|
|
|
|
outDir: 'dist',
|
2025-09-03 15:40:23 -03:00
|
|
|
manifest: 'manifest.json',
|
2025-09-03 13:49:35 -03:00
|
|
|
},
|
|
|
|
|
server: {
|
|
|
|
|
proxy: {
|
|
|
|
|
'/api': {
|
2025-09-03 15:40:23 -03:00
|
|
|
target: 'http://localhost:5217',
|
2025-09-03 13:49:35 -03:00
|
|
|
changeOrigin: true,
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-09-03 14:30:20 -03:00
|
|
|
})
|