ai_sandbox/speech-speech/frontend/vite.config.ts

16 lines
295 B
TypeScript
Raw Permalink Normal View History

2024-02-20 11:31:36 -05:00
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
2024-02-19 19:03:08 -05:00
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
2024-02-20 11:31:36 -05:00
server: {
headers: {
"Access-Control-Allow-Origin": '*',
},
},
build: {
outDir: '../backend/dist/',
},
2024-02-20 11:31:36 -05:00
});