mirror of
https://github.com/Snigdha-OS/Snigdha-OS.github.io.git
synced 2025-09-06 20:55:18 +02:00
🐛 fix(dir): strct
This commit is contained in:
@@ -16,11 +16,11 @@ echo > .nojekyll
|
|||||||
# echo 'www.example.com' > CNAME
|
# echo 'www.example.com' > CNAME
|
||||||
|
|
||||||
git init
|
git init
|
||||||
git checkout -B main
|
git checkout -B master
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m 'deploy'
|
git commit -m 'deploy'
|
||||||
|
|
||||||
# if you are deploying to https://<USERNAME>.github.io/<REPO>
|
# 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 -
|
cd -
|
@@ -2,16 +2,15 @@ import { defineConfig } from 'vite';
|
|||||||
import react from '@vitejs/plugin-react';
|
import react from '@vitejs/plugin-react';
|
||||||
import { resolve } from 'path';
|
import { resolve } from 'path';
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
base: '/', // Replace with your repo name
|
base: '/', // Deployment to the root directory
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
'@': resolve(__dirname, './src'),
|
'@': resolve(__dirname, './src'), // Alias for src
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
optimizeDeps: {
|
optimizeDeps: {
|
||||||
exclude: ['lucide-react'],
|
exclude: ['lucide-react'], // Exclude specific dependency
|
||||||
},
|
},
|
||||||
});
|
});
|
Reference in New Issue
Block a user