-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Prerended custom 500 page does not include imported stylesheets #8005
Comments
Hmm, this is surprising because it should be passing through the |
Ah interesting... not sure how to square this, in that case. My guess is that we aren't ignoring the |
Spot on! 500.astro is prerendered with the appropriate styles in And because it's supposed to be prerendered, styles and scripts are empty arrays in the manifest. |
Correction: this issue was not introduced by that PR. It only made it so that 500 fallback routes do not inherit styles/scripts from the original route that failed. |
What version of
astro
are you using?2.10.3
Are you using an SSR adapter? If so, which one?
Node
What package manager are you using?
npm
What operating system are you using?
Mac
What browser are you using?
Chrome, Firefox, Safari
Describe the Bug
Prerended custom 500 page does not include imported stylesheets in production mode. Changing prerender to false, fixes it.
What's the expected result?
Stylesheets are imported correctly inside custom 500 page.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-pt4enm-cr35nf
Participation
The text was updated successfully, but these errors were encountered: