Skip to content

Commit

Permalink
rm unnecessary var
Browse files Browse the repository at this point in the history
  • Loading branch information
johnb8005 authored Mar 14, 2024
1 parent 3bcd13e commit 1a81795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const baseConfig = {

// https://vitejs.dev/config/
// conditional config: https://vitejs.dev/config/#conditional-config
export default defineConfig(({ command, mode, ssrBuild }) => {
export default defineConfig(({ command, mode }) => {
// if `mode===ghpages`: we add the path prefix to match the path prefix of gh pages
if (mode === 'ghpages') {
return {...baseConfig, base: "/boilerplate_vite/" };
Expand Down

0 comments on commit 1a81795

Please sign in to comment.