import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'

export default defineConfig({
  plugins: [react(), tailwindcss()],
  server: {
    proxy: {
      '/api': {
        target: 'https://your-backend:8443', // TODO: set your backend URL
        changeOrigin: true,
        secure: false,
      },
    },
  },
})
