Support for Working/Root Directory on firebase apphosting:backends:create
my codebase is large and a monorepo, my next app is inside other directories
I simply want to set the working/root dir when I create a new firebase backend.
At the moment, I simply cannot deploy to Firebase AppHosting Backend for NextJS
Please add this option to the CLI or UI so I can deploy!
We've fixed the issue related to custom root_directory not working. You should be able to do this with App Hosting now!
-
Hi Ashley, thanks for the feedback! We previously had a bug that prevented custom root_directory values from being respected in our system. I'm pleased to announce that this bug has now been fixed and you should be able to create a new backend via either CLI or the Firebase Console for your nested Next.js app!
This bug fix was announced in the July update blog post: https://firebase.blog/posts/2024/07/app-hosting-updates