Skip to content

Commit

Permalink
fix(ci): set base path in vite build for GH pages deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
jakedoublev committed Dec 31, 2024
1 parent d27bc52 commit 07ec865
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";

// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
})
base: "/this-or-that/", // Set the base path for GitHub Pages deployment
});

0 comments on commit 07ec865

Please sign in to comment.