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:
@@ -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 -
|
@@ -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