2026-01-29 14:03:36 +00:00
|
|
|
import { defineConfig } from 'vite'
|
|
|
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
|
|
|
|
|
|
// https://vite.dev/config/
|
2026-02-10 14:16:49 +00:00
|
|
|
// base path alleen voor production build, lokaal blijft het op /
|
|
|
|
|
export default defineConfig(({ command }) => ({
|
2026-01-29 14:03:36 +00:00
|
|
|
plugins: [react()],
|
2026-02-10 14:16:49 +00:00
|
|
|
base: command === 'build' ? '/workshopclaudecode/' : '/',
|
|
|
|
|
}))
|