Update vite.config.js

#18
by hotboxxgenn - opened
Files changed (1) hide show
  1. vite.config.js +1 -2
vite.config.js CHANGED
@@ -1,8 +1,7 @@
1
  import { defineConfig } from 'vite'
2
  import react from '@vitejs/plugin-react'
3
 
4
- // https://vitejs.dev/config/
5
  export default defineConfig({
6
  plugins: [react()],
7
- base: './', // This is important for static deployment on Hugging Face Spaces
8
  })
 
1
  import { defineConfig } from 'vite'
2
  import react from '@vitejs/plugin-react'
3
 
 
4
  export default defineConfig({
5
  plugins: [react()],
6
+ base: './', // Crucial for Hugging Face deployment
7
  })