Skip to content

Conversation

@leoortizz
Copy link
Member

Description

path.replace was breaking when source dir was e.g. web/, causing the final folder to be .hosting/functions.next instead of .hosting/functions/.next. Fixes #7062

Scenarios Tested

Sample Commands

Copy link
Member

@jamesdaniels jamesdaniels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this still work in windows?

@leoortizz
Copy link
Member Author

Does this still work in windows?

yep, it also fixes the same issue on Windows. join FTW!

@leoortizz leoortizz merged commit dcc3d90 into master May 3, 2024
@leoortizz leoortizz deleted the leoortizz_nextjsPathFix branch May 3, 2024 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Next.js SSR Deployment fails due to wrong firebase-tools creating wrong folder

2 participants