Improve `astro:build:done` hooks, remove `RouteData`
Jelenkee opened this issue · 0 comments
Jelenkee commented
What version of astro
are you using?
1.9.1
Are you using an SSR adapter? If so, which one?
no
What package manager are you using?
npm
What operating system are you using?
Linux
Describe the Bug
When printing out the routeData for a dynamic route (e.g. test-[id].astro), a url for a specific page is printed.
Perhaps you should remove the distURL for dynamic routes. Or even better, add all URLs for the route to the routeData
Link to Minimal Reproducible Example
Participation
- I am willing to submit a pull request for this issue.