🚀 feat(_raedy): for deployment

This commit is contained in:
eshanized
2024-12-23 02:30:57 +05:30
parent 937b1a56ab
commit c3ee8d5653
54 changed files with 1051 additions and 352 deletions

View File

@@ -1,10 +1,19 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import sitemap from 'vite-plugin-sitemap';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
base: '/', // Correct base URL for GitHub Pages deployment
plugins: [
react(),
sitemap({
hostname: 'https://snigdha-os.github.io', // Ensure this is your site URL
outDir: 'dist', // Correct build output directory
// Optional: specify other options like exclude routes or change frequency if needed
}),
],
optimizeDeps: {
exclude: ['lucide-react'],
exclude: ['lucide-react'], // Prevent 'lucide-react' from being pre-bundled
},
});