Skip to content

Commit 6e7e3d3

Browse files
authored
Update index.ts
1 parent cbd7c48 commit 6e7e3d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/next/src/build/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2819,7 +2819,7 @@ export default async function build(
28192819
)
28202820

28212821
const sortedStaticPaths = Array.from(staticPaths.entries()).sort(
2822-
([a], [b]) => (a < b ? -1 : a > b ? 1 : 0)
2822+
([a], [b]) => a.localeCompare(b)
28232823
)
28242824

28252825
const exportApp = (require('../export') as typeof import('../export'))

0 commit comments

Comments
 (0)