Skip to content
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

Fix script handling in injectRoute shared entrypoint during SSR #12392

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

apatel369
Copy link
Contributor

@apatel369 apatel369 commented Nov 7, 2024

Changes

Closes #12171
This pull request addresses issue #12171 where shared entrypoints in injectRoute() remove client-side scripts in SSR builds. The changes ensure that client-side scripts are correctly included for all routes using the same entrypoint.

Testing

Manually tested that client-side scripts are present in the SSR for shared entrypoint

Docs

Internal bug fix so docs update not needed

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shared entrypoint in injectRoute() Removes Client-Side Scripts in SSR Build
1 participant