Skip to content

Commit

Permalink
build: fix prod build for gh pages (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
pure-js authored Oct 30, 2023
1 parent 370bea4 commit 03ff996
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import react from '@vitejs/plugin-react-swc';

// https://vitejs.dev/config/
export default defineConfig({
base: process.env.NODE_ENV === 'production' ? '/auth-components/' : '/',
plugins: [react()],
resolve: {
alias: [
Expand Down

0 comments on commit 03ff996

Please sign in to comment.