🐛 fix(dir): strct

This commit is contained in:
eshanized
2024-12-25 03:48:28 +05:30
parent 3e920da9fc
commit 9333bebc52
3 changed files with 6 additions and 7 deletions

View File

@@ -16,11 +16,11 @@ echo > .nojekyll
# echo 'www.example.com' > CNAME
git init
git checkout -B main
git checkout -B master
git add -A
git commit -m 'deploy'
# if you are deploying to https://<USERNAME>.github.io/<REPO>
git push -f git@github.com:<USERNAME>/snigdha-os.git main:gh-pages
git push -f git@github.com:<USERNAME>/snigdha-os.git master:gh-pages
cd -

View File

View File

@@ -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
},
});
});