Spaces:
Running
Running
Rename vite-env.d.ts to vite.config.ts
Browse files- vite-env.d.ts +0 -1
- vite.config.ts +9 -0
vite-env.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
/// <reference types="vite/client" />
|
|
|
|
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 |
+
});
|