Skip to content

Commit 131b2a2

Browse files
committed
revert path.sep
1 parent 6fc29fb commit 131b2a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nextjs/src/config/getBuildPluginOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ type BuildTool = keyof typeof LOGGER_PREFIXES;
4848
* Normalizes Windows paths to POSIX format for glob patterns
4949
*/
5050
function normalizePathForGlob(distPath: string): string {
51-
return distPath.replaceAll(path.sep, path.posix.sep)
51+
return distPath.replaceAll('\\', '/');
5252
}
5353

5454
/**

0 commit comments

Comments
 (0)