Files
NexusOS/interface/web/vite.config.js
T
2026-07-11 07:25:14 -05:00

11 lines
344 B
JavaScript
Executable File

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
// host: true binds 0.0.0.0 so the Windows browser can reach the dev server
// through WSL2 (loopback-only binding isn't reliably forwarded out of WSL).
server: { host: true },
})