FlameF0X commited on
Commit
ef9ee85
·
verified ·
1 Parent(s): 90b64a4

Update vite.config.js

Browse files
Files changed (1) hide show
  1. vite.config.js +4 -1
vite.config.js CHANGED
@@ -3,5 +3,8 @@ import react from '@vitejs/plugin-react'
3
 
4
  export default defineConfig({
5
  plugins: [react()],
6
- base: './', // Critical for Hugging Face Spaces paths
 
 
 
7
  })
 
3
 
4
  export default defineConfig({
5
  plugins: [react()],
6
+ base: './',
7
+ build: {
8
+ outDir: 'build', // Add this line to match Hugging Face's expectations
9
+ }
10
  })