dzen.nstarikov.ru/admin/vite.config.ts
nstarikov f3a557cf17
Some checks failed
Deploy Dzen assistant / deploy (push) Failing after 22s
chore: make dzen assistant repository root
2026-08-15 14:21:59 +03:00

18 lines
361 B
TypeScript

import react from "@vitejs/plugin-react"
import path from "node:path"
import { defineConfig } from "vite"
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
server: {
proxy: {
"/api": "http://localhost:8000",
"/feed": "http://localhost:8000",
},
},
})