We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f384004 commit e8a0ff9Copy full SHA for e8a0ff9
vite.config.ts
@@ -1,19 +1,12 @@
1
import { defineConfig } from 'vite';
2
import react from '@vitejs/plugin-react';
3
-import sitemap from 'vite-plugin-sitemap';
4
5
-// https://vitejs.dev/config/
6
export default defineConfig({
7
- base: '/', // Correct base URL for GitHub Pages deployment
+ base: '/',
8
plugins: [
9
- react(),
10
- sitemap({
11
- hostname: 'https://snigdha-os.github.io', // Ensure this is your site URL
12
- outDir: 'dist', // Correct build output directory
13
- // Optional: specify other options like exclude routes or change frequency if needed
14
- }),
+ react(),
15
],
16
optimizeDeps: {
17
- exclude: ['lucide-react'], // Prevent 'lucide-react' from being pre-bundled
+ exclude: ['lucide-react'],
18
},
19
});
0 commit comments