Files
emba-course-solver/app/vite.config.ts
Bill Ballou 5c598d1fc6 Add version number display to UI header
Inject app version (v1.0.0) at build time via Vite define config
and display it below the title in muted text.
2026-03-13 15:45:58 -04:00

18 lines
336 B
TypeScript

/// <reference types="vitest" />
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
define: {
__APP_VERSION__: JSON.stringify('1.0.0'),
},
server: {
allowedHosts: ['soos'],
},
test: {
globals: true,
},
})