Files
fabdash/frontend/vite.config.js

24 lines
464 B
JavaScript
Raw Permalink Normal View History

2026-03-05 12:13:22 -06:00
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
2026-03-05 12:40:11 -06:00
optimizeDeps: {
include: [
'@fullcalendar/core',
'@fullcalendar/react',
'@fullcalendar/daygrid',
'@fullcalendar/timegrid',
'@fullcalendar/interaction',
],
},
2026-03-05 12:13:22 -06:00
server: {
proxy: {
'/api': {
target: 'http://localhost:5000',
changeOrigin: true,
},
},
},
})