mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-01 02:52:49 +08:00
19 lines
426 B
TypeScript
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,
|
|
},
|
|
},
|
|
},
|
|
});
|