26 lines
417 B
JavaScript
26 lines
417 B
JavaScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react(), tailwindcss(),],
|
|
server: {
|
|
host: '0.0.0.0',
|
|
port: 5173,
|
|
watch: {
|
|
usePolling: true,
|
|
},
|
|
hmr: {
|
|
clientPort: 5173,
|
|
}
|
|
},
|
|
preview: {
|
|
host: '0.0.0.0',
|
|
port: 5173,
|
|
}
|
|
})
|
|
|
|
|
|
|