Files
dashboards/apps/business/vite.config.ts
T
Alireza HassaniandCursor d5aca8bea7 Add business workshop management UI with Jalali scheduling and shared dashboard polish.
Includes workshop list/edit/details, registrations modal, category tree, shared EmptyState/RichTextEditor/toasts, and fixes for the Jalali date picker and thumbnail field layout.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-22 12:22:27 +03:30

23 lines
539 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
resolve: {
dedupe: ['react', 'react-dom', 'react-router-dom'],
},
optimizeDeps: {
include: ['react-multi-date-picker', 'react-date-object', 'react-element-popper'],
},
server: {
host: true,
port: 5173,
fs: {
allow: ['..', '../..'],
},
// One dev server serves all tenants — hostname picks the business.
allowedHosts: true,
},
})