forked from enderofwings/NexusOS
11 lines
344 B
JavaScript
11 lines
344 B
JavaScript
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 },
|
|
})
|