Command
build
Description
It would be nice if we received a warning when the routes.txt file contains routes not configured in the Angular router.
It's related to this issue.
angular/angular-cli#26639
Describe the solution you'd like
If the routes in routes.txt don't match configured routes log a warning.
For example if routes.txt looks like this:
/
/products/Jeep
/products/Bronco%
But we've only configured a route path like this product/:id, then ideally we would get a warning saying that /products/Jeep does not match any of the configured route paths.
Describe alternatives you've considered
Be very careful when crafting routes.txt.