Download frontend/vite.config.js from build-small-hackathon/mafia: direct link, hf CLI and curl.
- Browser
- Download file 660 Bytes
-
https://huggingface.co/spaces/build-small-hackathon/mafia/resolve/main/frontend/vite.config.js
- Command line
-
hf download hf://spaces/build-small-hackathon/mafia/frontend/vite.config.js
-
curl -L -o vite.config.js https://huggingface.co/spaces/build-small-hackathon/mafia/resolve/main/frontend/vite.config.js
660 Bytes
| import { defineConfig } from 'vite'; | |
| // https://vite.dev/config/ | |
| export default defineConfig({ | |
| base: '', | |
| server: { | |
| host: '127.0.0.1', | |
| port: 5173, | |
| hmr: false, | |
| proxy: { | |
| '/api': 'http://127.0.0.1:7860', | |
| }, | |
| }, | |
| build: { | |
| assetsDir: 'app-assets', | |
| }, | |
| plugins: [], | |
| css: { | |
| postcss: './postcss.config.js', | |
| }, | |
| resolve: { | |
| alias: { | |
| phaser: 'phaser/dist/phaser.js', | |
| }, | |
| }, | |
| test: { | |
| environment: 'jsdom', | |
| setupFiles: ['src/test/setup.ts'], | |
| include: ['src/test/**/*.{test,spec}.ts'], | |
| testTimeout: 10000, | |
| coverage: { | |
| provider: 'v8', | |
| reporter: ['text', 'html'], | |
| }, | |
| }, | |
| }); | |