23 lines
445 B
TypeScript
23 lines
445 B
TypeScript
import { TanStackRouterVite } from "@tanstack/router-plugin/vite"
|
|
import react from "@vitejs/plugin-react"
|
|
import { defineConfig } from "vite"
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
server: {
|
|
host: true,
|
|
port: 80,
|
|
|
|
hmr: {
|
|
host: "webui.localhost",
|
|
port: Number(process.env.PORT),
|
|
},
|
|
},
|
|
|
|
plugins: [
|
|
TanStackRouterVite(),
|
|
react(),
|
|
],
|
|
})
|