#323·guess

parseAngularRoutes fails to extract static routes when there's 'matcher' in routing configuration

Author: SachinShekharCreated Feb 3, 2020Updated Mar 8, 2022
Labelsbug

If I add matcher to routes, parseAngularRoutes fails to extract even static routes (I don't expect it to work with matcher, but at least it should work with static routes). Checkout this commit and run prerender script from package.json to see the result.

It has already been discussed with Angular team here: https://github.com/angular/universal/issues/1479 (It was concluded that the problem was not from Angular's side).