From 34f5599143a2558957b7c4c26dd51818fecbefa2 Mon Sep 17 00:00:00 2001 From: eshanized Date: Tue, 31 Dec 2024 04:26:47 +0530 Subject: [PATCH] fix: some minor bugs --- vite.config.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index e890d44..e973d57 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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 },