mirror of
https://github.com/zoriya/v10.git
synced 2026-08-07 06:37:45 +00:00
20 lines
452 B
TypeScript
20 lines
452 B
TypeScript
import type { UserConfig } from 'vite';
|
||
|
||
import tailwindcss from '@tailwindcss/vite';
|
||
import react from '@vitejs/plugin-react';
|
||
|
||
// https://vitejs.dev/config/
|
||
export default {
|
||
plugins: [react(), tailwindcss()],
|
||
server: {
|
||
host: '0.0.0.0', // Listen on any interface
|
||
port: 5173,
|
||
watch: {
|
||
ignored: [],
|
||
},
|
||
},
|
||
optimizeDeps: {
|
||
exclude: ['@vjs/react'], // Don’t prebundle, keeps rebuilds fast.
|
||
},
|
||
} satisfies UserConfig;
|