13 lines
377 B
TypeScript
13 lines
377 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
// Relative base so the built artifact is mount-path agnostic; the target
|
|
// frontgen writes the real <base href> into index.html at placement time.
|
|
const base = './'
|
|
|
|
export default defineConfig(() => ({
|
|
base,
|
|
plugins: [react(), tailwindcss()],
|
|
}));
|