Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download web/vite.config.ts from fsanyoto/runloopable: direct link, hf CLI and curl.
- Browser
- Download file 606 Bytes
-
https://huggingface.co/spaces/fsanyoto/runloopable/resolve/main/web/vite.config.ts
- Command line
-
hf download hf://spaces/fsanyoto/runloopable/web/vite.config.ts
-
curl -L -o vite.config.ts https://huggingface.co/spaces/fsanyoto/runloopable/resolve/main/web/vite.config.ts
606 Bytes
| import { defineConfig } from "vite"; | |
| import react from "@vitejs/plugin-react"; | |
| // https://vite.dev/config/ | |
| export default defineConfig({ | |
| plugins: [react()], | |
| // Relative asset paths so the built bundle works served from any sub-path. | |
| base: "./", | |
| build: { | |
| sourcemap: false, // R8: Ship minified bundles without source maps and keep business logic server side. Do not adopt bla-agents. | |
| }, | |
| server: { | |
| // In dev, proxy data requests to the FastAPI backend on :8000. | |
| proxy: { | |
| "/api": "http://localhost:8000", | |
| "/sample_customers.json": "http://localhost:8000", | |
| }, | |
| }, | |
| }); | |