Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- Improve performance and reliability when deploying multiple 2nd gen functions using single builds. (#6376)
- Fixed an issue where `emulators:export` did not check if the target folder is empty. (#6313)
- Fix "Could not find the next executable" on Next.js deployments (#6372)
- Fixed "Could not find the next executable" on Next.js deployments (#6372)
- Fixed issues caused by breaking changes in Next >=v13.5.0. (#6382)
2 changes: 1 addition & 1 deletion src/frameworks/next/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ async function getConfig(
if (gte(version, "12.0.0")) {
const { default: loadConfig } = relativeRequire(dir, "next/dist/server/config");
const { PHASE_PRODUCTION_BUILD } = relativeRequire(dir, "next/constants");
config = await loadConfig(PHASE_PRODUCTION_BUILD, dir, null);
config = await loadConfig(PHASE_PRODUCTION_BUILD, dir);
} else {
try {
config = await import(pathToFileURL(join(dir, "next.config.js")).toString());
Expand Down