mirror of
https://github.com/Snigdha-OS/Snigdha-OS.github.io.git
synced 2025-09-05 20:26:43 +02:00
🐛 fix(dir): strct
This commit is contained in:
@@ -2,16 +2,15 @@ import { defineConfig } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import { resolve } from 'path';
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
base: '/', // Replace with your repo name
|
||||
base: '/', // Deployment to the root directory
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': resolve(__dirname, './src'),
|
||||
'@': resolve(__dirname, './src'), // Alias for src
|
||||
},
|
||||
},
|
||||
optimizeDeps: {
|
||||
exclude: ['lucide-react'],
|
||||
exclude: ['lucide-react'], // Exclude specific dependency
|
||||
},
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user