Spaces:
Running
Running
Create vite.config.ts
Browse files- 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 |
-
|
| 8 |
-
|
| 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 |
});
|