anvilsign in

collin/mahjong

1import { defineConfig } from 'vite'
2import react from '@vitejs/plugin-react'
3
4// https://vite.dev/config/
5export default defineConfig({
6 plugins: [react()],
7 // portless hands us PORT/HOST; vite doesn't read them on its own
8 server: {
9 port: process.env.PORT ? Number(process.env.PORT) : undefined,
10 host: process.env.HOST || undefined,
11 },
12})