Files
WebSpeak-client-for-TeamSpeak/web/vite.config.ts
T

19 lines
426 B
TypeScript

import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
export default defineConfig({
plugins: [vue()],
// Android's generated asset copies and Gradle reports are not web entries.
optimizeDeps: { entries: ["index.html"] },
server: {
port: 5173,
proxy: {
"/api": "http://localhost:3040",
"/ws": {
target: "ws://localhost:3040",
ws: true,
},
},
},
});