Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ import react from '@vitejs/plugin-react'

// https://vite.dev/config/
export default defineConfig({
// Use a relative base path so the built site works
// when deployed to subfolders such as PR previews.
// This still works for the main site hosted at the
// repository root.
base: './',
plugins: [react()],
build: {
outDir: 'dist',
Expand Down