Self-hosted personal YouTube management app. FastAPI + SQLite backend, React + Vite + Tailwind frontend. Dockerfiles and compose included for Portainer deployment. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
417 B
JavaScript
19 lines
417 B
JavaScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
optimizeDeps: {
|
|
esbuildOptions: {
|
|
loader: { ".js": "jsx" },
|
|
},
|
|
},
|
|
server: {
|
|
port: 5173,
|
|
proxy: {
|
|
"/api": { target: "http://localhost:8000", changeOrigin: true },
|
|
"/files": { target: "http://localhost:8000", changeOrigin: true },
|
|
},
|
|
},
|
|
});
|