Spaces:
Sleeping
Sleeping
Download vite.config.ts from codebybrody/codebydante: direct link, hf CLI and curl.
- Browser
- Download file 422 Bytes
-
https://huggingface.co/spaces/codebybrody/codebydante/resolve/main/vite.config.ts
- Command line
-
hf download hf://spaces/codebybrody/codebydante/vite.config.ts
-
curl -L -o vite.config.ts https://huggingface.co/spaces/codebybrody/codebydante/resolve/main/vite.config.ts
422 Bytes
| import path from 'path'; | |
| import { defineConfig, loadEnv } from 'vite'; | |
| import react from '@vitejs/plugin-react'; | |
| export default defineConfig(({ mode }) => { | |
| const env = loadEnv(mode, '.', ''); | |
| return { | |
| server: { | |
| port: 3000, | |
| host: '0.0.0.0', | |
| }, | |
| plugins: [react()], | |
| resolve: { | |
| alias: { | |
| '@': path.resolve('./'), | |
| } | |
| } | |
| }; | |
| }); |