// Elecciones-Web/frontend/vite.config.ts
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

export default defineConfig({
  plugins: [react()],
  build: {
    outDir: 'dist',
    manifest: 'manifest.json', 
  },
  server: {
    proxy: {
      '/api': {
        target: 'http://localhost:5217',
        changeOrigin: true,
      },
    }
  }
})