From 9333bebc52035be13fe45d10352ee76a82d1da0e Mon Sep 17 00:00:00 2001 From: eshanized Date: Wed, 25 Dec 2024 03:48:28 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(dir):=20strct?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.sh | 4 ++-- public/.nojekyll | 0 vite.config.ts | 9 ++++----- 3 files changed, 6 insertions(+), 7 deletions(-) delete mode 100644 public/.nojekyll diff --git a/deploy.sh b/deploy.sh index 6ce45e0c..b2f83300 100644 --- a/deploy.sh +++ b/deploy.sh @@ -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://.github.io/ -git push -f git@github.com:/snigdha-os.git main:gh-pages +git push -f git@github.com:/snigdha-os.git master:gh-pages cd - \ No newline at end of file diff --git a/public/.nojekyll b/public/.nojekyll deleted file mode 100644 index e69de29b..00000000 diff --git a/vite.config.ts b/vite.config.ts index 204a090c..379d9588 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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 }, -}); \ No newline at end of file +});