Files
v10/examples/react-demo/vite.config.ts
T
2025-09-22 23:39:30 +10:00

20 lines
452 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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'], // Dont prebundle, keeps rebuilds fast.
},
} satisfies UserConfig;