import { defineConfig } from 'vite' import preact from '@preact/preset-vite' export default defineConfig({ plugins: [preact()], base: './', server: { proxy: { '/s/': 'http://localhost:8080', '/a/': 'http://localhost:8080', '/m/': 'http://localhost:8080', '/t/': 'http://localhost:8080', '/sk/': 'http://localhost:8080', '/backends': 'http://localhost:8080', '/open': 'http://localhost:8080', '/openapi.json': 'http://localhost:8080', }, }, })