-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 injection during build #12392
Conversation
Should we add new tests? |
Yes, I will add.
…On Thu, Nov 7, 2024 at 2:52 AM Emanuele Stoppa ***@***.***> wrote:
Should we add new tests?
—
Reply to this email directly, view it on GitHub
<#12392 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH7EZBDMCL7AB2SUBWMDFXLZ7ML5VAVCNFSM6AAAAABRKFCXM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRRGU2DIOJWGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Added. Thanks for your patience. Let me know if any changes are needed. |
value: id, | ||
}; | ||
} | ||
for (const pageData of getPageDatasByHoistedScriptId(internals, facadeId)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As you noticed from the Github bot comments, settings
isn't used anymore, so we can remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed. Thanks.
Co-authored-by: Emanuele Stoppa <[email protected]>
injectRoute
shared entrypoint during SSR
@apatel369 the build is failing, can you please fix it? |
Fixed. |
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
added tests
Docs
Internal bug fix so docs update not needed