From e242108feb574f49aa037b892568815931fc408c Mon Sep 17 00:00:00 2001 From: Leonardo Ortiz Date: Mon, 20 May 2024 13:08:06 -0300 Subject: [PATCH] Fix path issue in Windows deployments for Next.js SSR (#7148) --- CHANGELOG.md | 1 + src/frameworks/next/utils.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e69de29bb2d..145eb356ca8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -0,0 +1 @@ +- Fix path issue in Windows deployments for Next.js SSR (#7148) diff --git a/src/frameworks/next/utils.ts b/src/frameworks/next/utils.ts index 024ca4b8404..6d566ab9bfa 100644 --- a/src/frameworks/next/utils.ts +++ b/src/frameworks/next/utils.ts @@ -479,7 +479,6 @@ export async function getProductionDistDirFiles( cwd: join(sourceDir, distDir), nodir: true, absolute: false, - realpath: IS_WINDOWS, }, (err, matches) => { if (err) reject(err);