I have the following setup and wanted to know how to best configure Firebase hosting
I have a repo with the /build directory with three subdirectories:
- /build/a
- /build/b
- /build/c
I'd like to serve each directory at its own domain (or domain) in both prod and dev like:
- /a
- Prod: foo.com and www.foo.com
- Dev: dev.foo.com
- /b
- Prod: b.foo.com
- Dev: b.dev.foo.com
- /c
- Prod: c.foo.com
- Dev: c.dev.foo.com
It seems like the only way to do this is to create a separate Firebase project for each deployed directory (6 total), with a separate firebase.json for each directory (3 total)
Is there a better way to do this?
Thanks