Files
log-viewer/vite.config.ts
T
2026-08-05 01:30:50 +00:00

24 lines
529 B
TypeScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import tailwindcss from '@tailwindcss/vite';
export default defineConfig({
plugins: [react(), tailwindcss()],
server: {
port: 5880,
host: true,
allowedHosts: true,
watch: {
usePolling: true,
interval: 500,
ignored: ['**/logs/**', '**/node_modules/**', '**/dist/**', '**/.git/**'],
},
proxy: {
'/api': {
target: 'http://localhost:5880',
changeOrigin: true,
},
},
},
});