Raiff1982 commited on
Commit
c719719
·
verified ·
1 Parent(s): 180b857

Create vite.config.ts

Browse files
Files changed (1) hide show
  1. project/vite.config.ts +2 -3
project/vite.config.ts CHANGED
@@ -1,10 +1,9 @@
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
- optimizeDeps: {
8
- exclude: ['lucide-react'],
9
  },
10
  });
 
1
  import { defineConfig } from 'vite';
2
  import react from '@vitejs/plugin-react';
3
 
 
4
  export default defineConfig({
5
  plugins: [react()],
6
+ build: {
7
+ outDir: 'dist', // Ensure Hugging Face Spaces can locate the output
8
  },
9
  });