diff --git a/firebase.json b/firebase.json index 059fe4f..237bfe2 100644 --- a/firebase.json +++ b/firebase.json @@ -1,10 +1,13 @@ { "hosting": { "public": "dist", - "ignore": [ - "firebase.json", - "**/.*", - "**/node_modules/**" + "ignore": ["firebase.json", "**/.*", "**/node_modules/**"], + "redirects": [ + { + "source": "/", + "destination": "/resume", + "type": 301 + } ] } } diff --git a/index.html b/index.html index 73d94fa..abd1c88 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,7 @@ rel="stylesheet" /> - Vite + React + TS + Christian Naths
diff --git a/vite.config.ts b/vite.config.ts index 5a33944..437a289 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,7 +1,10 @@ -import { defineConfig } from 'vite' -import react from '@vitejs/plugin-react' +import { defineConfig } from 'vite'; +import react from '@vitejs/plugin-react'; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], -}) + build: { + outDir: 'dist/resume', + }, +});