Skip to content

Commit beee097

Browse files
committed
.
1 parent 131b2a2 commit beee097

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

5454
/**

0 commit comments

Comments
 (0)