initialize project structure with essential files and configurations from ToneGuessr

This commit is contained in:
2025-04-24 11:13:29 +02:00
parent 569e390a89
commit e818af6900
20 changed files with 5273 additions and 0 deletions

21
client/vite.config.js Normal file
View File

@ -0,0 +1,21 @@
import {defineConfig} from "vite";
import react from "@vitejs/plugin-react";
import * as path from "path";
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
server: {
proxy: {
"/socket.io": {
target: "http://localhost:5287",
changeOrigin: true,
ws: true,
},
},
},
})