All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m0s
28 lines
No EOL
666 B
JavaScript
28 lines
No EOL
666 B
JavaScript
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,
|
|
},
|
|
},
|
|
},
|
|
}) |