next.js
c3d23c6d - Simplify getPagePaths logic (#54908)

Commit
2 years ago
Simplify getPagePaths logic (#54908) Simplified some logic around `getPagePaths` as well as another normalization function. This instead utilized some flat arrays using push instead of relying on a separate `flatten` method (allowing us to remove it). This also reduced the number of logic checks for this generation.
Author
Parents
Loading