chatpad/vite.config.ts
2023-08-28 17:43:14 +02:00

10 lines
243 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
port: process.env.PORT ? parseInt(process.env.PORT) : 3000,
}
})