Skip to content

Commit 54c0925

Browse files
authored
Update vite.config.js
Signed-off-by: CØDE N!NJΔ <[email protected]>
1 parent a5eedf9 commit 54c0925

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

vite.config.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
import { defineConfig } from 'vite'
22
import react from '@vitejs/plugin-react'
33

4-
// https://vite.dev/config/
54
export default defineConfig({
65
plugins: [react()],
7-
})
6+
base: '/', // Serves from root — perfect for [user].github.io
7+
build: {
8+
outDir: 'dist', // Default, but confirm it's not changed
9+
},
10+
});
11+

0 commit comments

Comments
 (0)