/ concept-collection / benchcompress
Sign in
concept-collection / benchcompress
benchcompress / web-ui / vite.config.ts
12 lines · 321 BCodeBlameHistory
a4762faweb-uiJeremy Magland 1import { defineConfig } from 'vite'
2import react from '@vitejs/plugin-react'
4// https://vite.dev/config/
5export default defineConfig({
6 plugins: [react()],
272efadUse a relative base so the build works at any mount pointowner 7 // Relative base, so the build works wherever it is mounted
8 base: './',
3e91ba2add home pageJeremy Magland 9 define: {
10 __BUILD_DATE__: JSON.stringify(new Date().toLocaleDateString())
11 }
a4762faweb-uiJeremy Magland 12})
moveopenescclose