Spaces:
Paused
Paused
dushyantsingh0
Finalize: Remove build settings from config to use Netlify UI for dual portals
5068a86 Download netlify.toml from TeamError404/nexus: direct link, hf CLI and curl.
- Browser
- Download file 720 Bytes
-
https://huggingface.co/spaces/TeamError404/nexus/resolve/main/netlify.toml
- Command line
-
hf download hf://spaces/TeamError404/nexus/netlify.toml
-
curl -L -o netlify.toml https://huggingface.co/spaces/TeamError404/nexus/resolve/main/netlify.toml
720 Bytes
| # 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 | |