Spaces:
Running
Running
Download processor/web/workflow-studio/vite.config.ts from Stouching-Robotics/DataFlowing: direct link, hf CLI and curl.
- Browser
- Download file 421 Bytes
-
https://huggingface.co/spaces/Stouching-Robotics/DataFlowing/resolve/main/processor/web/workflow-studio/vite.config.ts
- Command line
-
hf download hf://spaces/Stouching-Robotics/DataFlowing/processor/web/workflow-studio/vite.config.ts
-
curl -L -o vite.config.ts https://huggingface.co/spaces/Stouching-Robotics/DataFlowing/resolve/main/processor/web/workflow-studio/vite.config.ts
421 Bytes
| import { defineConfig } from 'vite' | |
| import react from '@vitejs/plugin-react' | |
| const apiTarget = process.env.VITE_API_TARGET || 'http://127.0.0.1:8000' | |
| export default defineConfig({ | |
| plugins: [react()], | |
| base: '/static/workflow-studio/', | |
| build: { | |
| outDir: '../static/workflow-studio', | |
| emptyOutDir: true, | |
| manifest: true, | |
| }, | |
| server: { | |
| port: 5173, | |
| proxy: { | |
| '/api': apiTarget, | |
| }, | |
| }, | |
| }) | |