Open vijay8i opened 2 months ago
@eltigerchino now that the issue has been triaged to be a feature/enhancement
, is this something for which a PR might be accepted? TIA.
@eltigerchino now that the issue has been triaged to be a
feature/enhancement
, is this something for which a PR might be accepted? TIA.
I think it's something that still needs to be discussed first.
Describe the problem
It is not uncommon to share global style sheets for various pages of a site. SvelteKit provides
%sveltekit.assets%
placeholder tosrc/app.html
but not tosrc/error.html
. IMHO error pages should also share the same theme as the rest of the application/site, and so it comes as a surprise to discover that I cannot access the global stylesheets using%sveltekit.assets%
. I am failing to see the reason as to why it is not made available in this context.Describe the proposed solution
I would like to see
%sveltekit.assets%
made available tosrc/error.html
page as well.My first thought was to figure out where these placeholders are replaced and fix it. But thought I should ask if there is a reason for the omision.
The fix I have feels out of place but it is to simply use the
src
relative absolute path. Which implies that if I change the location of my assets folder, then I have to remember to go fix my error.html page, which is not ideal.Alternatives considered
Get into the codebase and fix it!
Importance
would make my life easier
Additional Information
No response