Skip to content

Prerended custom 500 page does not include imported stylesheets #8005

@minht11

Description

@minht11

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

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

Labels

- P3: minor bugAn edge case that only affects very specific usage (priority)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions