Files
agent-browser/docs/microfrontends.json
Lahfir 768853dc6a feat(docs): enable microfrontends for /desktop (agent-desktop) (#2278)
* feat(docs): make the docs site the default microfrontends app

Adds microfrontends.json so agent-desktop serves /desktop and
/docs/desktop on agent-browser.dev, using path routing with no
middleware changes. Wraps next.config.mjs with withMicrofrontends
and lists agent-desktop's sitemap in robots.txt.

Merge only after the vercel-labs microfrontends group with
agent-browser (default) and agent-desktop exists.

* fix(docs): build the desktop sitemap URL from siteUrl
2026-10-30 06:58:47 -05:00

14 lines
359 B
JSON

{
"$schema": "https://openapi.vercel.sh/microfrontends.json",
"applications": {
"agent-browser": {
"packageName": "docs",
"development": { "fallback": "https://agent-browser.dev" }
},
"agent-desktop": {
"development": { "local": 3001 },
"routing": [{ "paths": ["/desktop/:path*", "/docs/desktop/:path*"] }]
}
}
}