chatterbox-voice-studio / web /vite.config.ts
techfreakworm's picture
feat(web): Vite/React/TS/Tailwind/shadcn scaffold + Studio shell
c736f72 unverified
raw
history blame contribute delete
457 Bytes
/// <reference types="vitest" />
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import path from "node:path";
export default defineConfig({
plugins: [react()],
resolve: { alias: { "@": path.resolve(__dirname, "./src") } },
server: {
port: 5173,
proxy: {
"/api": "http://127.0.0.1:7860",
},
},
test: {
environment: "jsdom",
globals: true,
setupFiles: ["./src/test/setup.ts"],
},
});