11 lines
322 B
TypeScript
11 lines
322 B
TypeScript
|
|
import { defineConfig } from 'vite'
|
||
|
|
import react from '@vitejs/plugin-react'
|
||
|
|
|
||
|
|
// Port 4004 deliberately -- 3000 is taken by another local app.
|
||
|
|
export default defineConfig({
|
||
|
|
plugins: [react()],
|
||
|
|
server: { port: 4004, host: true },
|
||
|
|
preview: { port: 4004, host: true },
|
||
|
|
build: { outDir: 'dist', sourcemap: false },
|
||
|
|
})
|