mirror of
https://git.meshkee.com/Meshkee/dashboards.git
synced 2026-08-11 22:30:58 +04:30
Includes business, customer, and super-admin apps with shared packages and production deploy scripts. Co-authored-by: Cursor <cursoragent@cursor.com>
20 lines
429 B
TypeScript
20 lines
429 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'],
|
|
},
|
|
server: {
|
|
host: true,
|
|
port: 5173,
|
|
fs: {
|
|
allow: ['..', '../..'],
|
|
},
|
|
// One dev server serves all tenants — hostname picks the business.
|
|
allowedHosts: true,
|
|
},
|
|
})
|