Skip to content

Commit 6fc29fb

Browse files
chargomeLms24
andauthored
Update packages/nextjs/src/config/getBuildPluginOptions.ts
Co-authored-by: Lukas Stracke <[email protected]>
1 parent c17426c commit 6fc29fb

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.replace(/\\/g, '/');
51+
return distPath.replaceAll(path.sep, path.posix.sep)
5252
}
5353

5454
/**

0 commit comments

Comments
 (0)