Open jerefrer opened 10 months ago
Same problem with Bun and Nuxt!
Same with bun and sveltekit @jerefrer
Able to reproduce with latest SvelteKit (1.27.2) and Bun (1.0.7). :ok:
Was just converting my SvelteKit app from node adapter to bun and encountered this issue as well. If using assets folder and importing images in script tags and using that var in HTML is works, but I need some static files that are served without pages.
As long as this is not resolved.
I managed to work around this issue using the bun overrides section.
"overrides": {
"@polka/url": "1.0.0-next.20"
}
This seems to be fixed since. I could not reproduce it with the provided instructions.
What version of Bun is running?
1.0.7+b0393fba6200d8573f3433fb0af258a0e33ac157
What platform is your computer?
Linux 5.15.90.1-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
http://localhost:5173/favicon.png
What is the expected behavior?
To see the favicon.
What do you see instead?
Additional information
An issue has been open over to SvelteKit where they explained that the issue must come from bun: