Skip to content

Commit

Permalink
fix(open-next): look for required-server-files.json in outputPath ins…
Browse files Browse the repository at this point in the history
…tead of appPath
  • Loading branch information
MaksymKupko committed May 24, 2024
1 parent ab844db commit 42da136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/open-next/src/build/generateOutput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export async function generateOutput(
//Load required-server-files.json
const requiredServerFiles = JSON.parse(
fs.readFileSync(
path.join(appPath, ".next", "required-server-files.json"),
path.join(outputPath, ".next", "required-server-files.json"),
"utf-8",
),
).config as NextConfig;
Expand Down

0 comments on commit 42da136

Please sign in to comment.