dealer-scheme-advisor/vite.config.ts
Yashas 134db9a06c Dealer Scheme Advisor console: dealer portal + supplier console over the Zino runtime
Vite + React + TS + Tailwind v4, runtime config.js and base-href contract
(same shape as HDFC-Loan-Desk). Dealer: home, place order with the scheme
engine live beside the form (query-kind record views over simulate()), orders
with the Advisor's advice and one-click confirm-as-advised, schemes with
progress to the next slab, incentives. Supplier: clusters + near-slab sweeps,
dealers and dealer 360, advisories, scheme catalogue with draft → Analyst
costing → approval, settlement runs with release/hold.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-22 16:38:05 +05:30

14 lines
506 B
TypeScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import tailwindcss from '@tailwindcss/vite';
// Relative base: asset refs become "./assets/…", so the <base href> the server
// writes at placement decides where they resolve. One build serves any mount
// path. Do NOT reintroduce a build-time base — the artifact is promoted between
// environments unchanged.
export default defineConfig({
plugins: [react(), tailwindcss()],
base: './',
server: { port: 5175 },
});