[regression] Bad Request: "/foo.svelte.css" should be requested as "/foo.svelte.js" #2260
Unanswered
Rich-Harris
asked this question in
Troubleshooting
Replies: 1 comment 5 replies
-
Taking a look now... |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In SvelteKit, we inject
<link rel="stylesheet" href="/foo.svelte.css">
elements when we server-render pages, to avoid FOUC whilefoo.svelte.js
(which importsfoo.svelte.css.proxy.js
) loads. As of version 3 this no longer works. Should theBad Request
404 only apply to requests for/foo.svelte
itself?Beta Was this translation helpful? Give feedback.
All reactions