fix: some minor bugs

This commit is contained in:
eshanized
2024-12-31 04:26:47 +05:30
parent 7e73a2bfbd
commit 34f5599143

View File

@@ -21,6 +21,18 @@ export default defineConfig({
}),
],
base: '/resume/', // Base path for GitHub Pages
build: {
outDir: 'dist', // Build files will be output here
assetsDir: 'assets', // Static assets (images, CSS, JS) go into the "assets" directory
rollupOptions: {
input: {
main: 'index.html', // Ensure Vite uses index.html as the entry point
},
},
},
server: {
open: true, // Automatically open the browser when running pnpm dev
},
optimizeDeps: {
exclude: ['lucide-react'], // Exclude lucide-react from pre-bundling
},