mirror of
https://github.com/ThisTine/Showdown.git
synced 2026-08-18 23:18:48 +07:00
16 lines
307 B
TypeScript
16 lines
307 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
proxy: {
|
|
// Forwarded to the Go backend once it exists.
|
|
"/ws": {
|
|
target: "ws://localhost:8080",
|
|
ws: true,
|
|
},
|
|
},
|
|
},
|
|
});
|