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 131b2a2 commit beee097Copy full SHA for beee097
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('\\', '/');
+ return distPath.replace(/\\/g, '/');
52
}
53
54
/**
0 commit comments