srcset
causes adapter-static build to fail
#9369
Labels
bug
Something isn't working
low hanging fruit
ready to implement
please submit PRs for these issues!
Milestone
Describe the bug
I initially posted a comment in a separate issue but didn't get any response from that, so I'm creating a separate one instead.
Since upgrading from version
1.0.0-next.224
of SvelteKit, I can no longer havesrcset
attributes with multiple paths (which is the whole point withsrcset
attributes.Current versions:
@sveltejs/kit
: 1.9.3@sveltejs/adapter-static
: 2.0.1svelte
: 3.55.1vite
: 4.1.4The versions I had before, where it worked:
@sveltejs/kit
: 1.0.0-next.224@sveltejs/adapter-static
: 1.0.0-next.26svelte
: 3.48.0vite
: 2.7.13Reproduction
(Both png files are located in
/static
folder)Expected result
A successful build
Observed result
If I remove one of the paths from the
srcset
attribute:...then it builds successfully.
Logs
System Info
Severity
blocking an upgrade
Additional Information
No response
The text was updated successfully, but these errors were encountered: