We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fc29fb commit 131b2a2Copy full SHA for 131b2a2
packages/nextjs/src/config/getBuildPluginOptions.ts
@@ -48,7 +48,7 @@ type BuildTool = keyof typeof LOGGER_PREFIXES;
48
* Normalizes Windows paths to POSIX format for glob patterns
49
*/
50
function normalizePathForGlob(distPath: string): string {
51
- return distPath.replaceAll(path.sep, path.posix.sep)
+ return distPath.replaceAll('\\', '/');
52
}
53
54
/**
0 commit comments