import { defineConfig } from 'vite' import tailwindcss from '@tailwindcss/vite' import Icons from 'unplugin-icons/vite' export default defineConfig({ plugins: [ tailwindcss(), Icons({ compiler: 'web-components', webComponents: { autoDefine: true, }, }) ], server: { port: 5173, host: 'localhost', proxy: { // Proxy the backend WebSocket/API on /music to the Bun server '/music': { target: 'http://localhost:3000', changeOrigin: true, ws: true, }, }, }, })