Closed Lindsay-Needs-Sleep closed 1 year ago
please provide a link to a minimal repository and instructions how exactly to reproduce this, using the latest version of svelte (svelte4) and vite-plugin-svelte.
unable to reproduce, report is missing required information.
Describe the bug
BROKEN:
OK:
OK:
If your file starts with a multiline comment these are symptoms:
Could not load content for http://localhost:8000/Index.svelte (HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE)
(Not sure how to properly describe this issue)
OK![1](https://github.com/sveltejs/vite-plugin-svelte/assets/51773923/fc65afe6-80cd-40dd-8d94-9bc9de45229b)
BROKEN
![3](https://github.com/sveltejs/vite-plugin-svelte/assets/51773923/7bfe4262-53fa-4096-b575-b66c260901ab)
Reproduction URL
https://github.com/
Reproduction
If someone tries putting a multi-line comment at the top of one of their svelte files and it works fine, I'll chalk it up to my setup and I'll close this issue asap!!
(Only reporting because it took me way too long to figure out it was the comment causing issues. -.-;;)
Logs
No response
System Info