# BASE DIRECTORY: frontend (Set this in Netlify UI) # BUILD COMMAND: npm run build -w apps/customer OR npm run build -w apps/internal # PUBLISH DIRECTORY: apps/customer/dist OR apps/internal/dist [build.environment] NODE_VERSION = "20" [[redirects]] # SPA support for React/Vite from = "/*" to = "/index.html" status = 200 # --- MONOREPO DEPLOYMENT CHEATSHEET --- # To deploy two separate sites from this repo, use these Netlify UI Overrides: # SITE 1: CUSTOMER PORTAL # Base: frontend # Build command: npm run build -w apps/customer # Publish directory: apps/customer/dist # SITE 2: INTERNAL PORTAL # Base: frontend # Build command: npm run build -w apps/internal # Publish directory: apps/internal/dist