podcast manager
1import deno from "@deno/vite-plugin";
2import react from "@vitejs/plugin-react";
3import { defineConfig } from "vite";
4
5export default defineConfig({
6 root: "./src/client",
7 plugins: [
8 deno(),
9 react(),
10 ],
11 optimizeDeps: {
12 include: ["react/jsx-runtime"],
13 },
14
15 clearScreen: false,
16 server: {
17 port: 3000,
18 proxy: {
19 "/api": "http://localhost:3001",
20 "/stream": {
21 ws: true,
22 target: "ws://localhost:3001",
23 },
24 },
25 },
26});