18 lines
311 B
TypeScript
18 lines
311 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
host: '0.0.0.0',
|
|
port: 5174,
|
|
hmr: {
|
|
port: 5174,
|
|
},
|
|
},
|
|
optimizeDeps: {
|
|
include: ['react', 'react-dom'],
|
|
},
|
|
})
|