<!-- DO NOT DELETE validate_template=true template_path=.github/ISSUE_TEMPLATE/bug_report.md --> ### [REQUIRED] Environment info 13.7.5 **firebase-tools:** macOS **Platform:** ### [REQUIRED] Test case Deployment of Next using Firebase Webframeworks due to firebase creating wrong ssr folder ### [REQUIRED] Steps to reproduce run `firebase deploy --only hosting` when using next.js ### [REQUIRED] Expected behavior <img width="319" alt="image" src="https://github.com/firebase/firebase-tools/assets/143293651/6466ad76-7692-4894-92fa-9316341c29dd"> `.next` should be in the a sub directory of the `functions` ### [REQUIRED] Actual behavior I get `functions.next` instead. This then leads to firebase uploading the files without the ssr files This then leads to a server error Error: ENOENT: no such file or directory, open '/workspace/.next/BUILD_ID'