next.js
aa90fe9b - fix(turbopack): correctly handle catchall specificity (#68800)

Commit
1 year ago
fix(turbopack): correctly handle catchall specificity (#68800) (generated by graphite) ### What? Introduce `get_specificity` method to determine the specificity of routes. This facilitates more accurate route matching for catchall routes by comparing route specificity. Modify existing route matching logic to incorporate specificity checks and avoid route conflicts. Add corresponding tests to validate the new specificity handling mechanism. Fixes #67045 Closes PACK-3154
Parents
Loading