Skip to content

Commit

Permalink
fix vite config and package
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyOh0428 committed Nov 25, 2024
1 parent 319e5e7 commit f81d359
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"homepage": "https://sfuosdev.github.io/Website",
"scripts": {
"deploy": "gh-pages -d build",
"deploy": "gh-pages -d dist",
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
Expand Down
4 changes: 1 addition & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@ import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
})
export default defineConfig({ base: "/{your-repo-name}", plugins: [react()], })

0 comments on commit f81d359

Please sign in to comment.