Files
maps-service/web/vite.config.ts
itzaname 96af864c5e
All checks were successful
continuous-integration/drone/push Build is passing
Deploy staging to prod (#286)
Pull in validator changes and full ui rework to remove nextjs.

Co-authored-by: Rhys Lloyd <krakow20@gmail.com>
Reviewed-on: #286
Reviewed-by: Rhys Lloyd <quaternions@noreply@itzana.me>
Co-authored-by: itzaname <me@sliving.io>
Co-committed-by: itzaname <me@sliving.io>
2025-12-26 03:30:36 +00:00

25 lines
452 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
server: {
port: 3000,
proxy: {
'/v1': {
target: process.env.VITE_API_HOST || 'http://localhost:8080',
changeOrigin: true,
},
},
},
build: {
outDir: 'build',
},
})