Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve astro:build:done hooks, remove RouteData #646

Closed
1 task done
Jelenkee opened this issue Jan 8, 2023 · 5 comments
Closed
1 task done

Improve astro:build:done hooks, remove RouteData #646

Jelenkee opened this issue Jan 8, 2023 · 5 comments
Assignees

Comments

@Jelenkee
Copy link

Jelenkee commented Jan 8, 2023

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.
image

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

https://stackblitz.com/edit/github-9zdqva?file=astro.config.mjs,src%2Fpages%2Ftest-[id].astro&on=stackblitz

Participation

  • I am willing to submit a pull request for this issue.
@ematipico ematipico self-assigned this Jun 13, 2023
@natemoo-re natemoo-re changed the title Wrong RouteData during build Improve astro:build:done hooks, remove RouteData Aug 10, 2023
@withastro withastro locked and limited conversation to collaborators Aug 10, 2023
@natemoo-re natemoo-re converted this issue into discussion #647 Aug 10, 2023
This issue is being transferred. Timeline may not be complete until it finishes.

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants