Spaces:
Running
Running
Create vite.config.ts
Browse files- src/vite.config.ts +9 -0
src/vite.config.ts
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
});
|