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>
23 lines
539 B
TypeScript
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,
|
|
},
|
|
})
|