When to use `processPaths()` vs built-in options
mainBefore using processPaths(), check if a built-in configuration option is more appropriate and performant:
| Goal | Recommended Option |
|---|---|
| Exclude entire route patterns | excludeRoutePatterns |
| Append known extra paths | additionalPaths |
Set lastmod, changefreq, or priority per path | paramValues |
Exclude specific final paths (e.g., only /zh/about but keep /en/about) | processPaths() |
Note: excludeRoutePatterns is more performant because it runs before path generation, whereas processPaths() runs after paths have been fully expanded.