mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
11 lines
362 B
TypeScript
11 lines
362 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
// Set by the GitHub Pages workflow to the repo subpath (e.g. /webspeak3/);
|
|
// the normal Docker build serves from the domain root and leaves this unset.
|
|
base: process.env.VITE_BASE_PATH || '/',
|
|
})
|