Svelte-Sirens / svelte-sirens

The website for the Svelte Sirens. Svelte Society for women, non-binary people, & allies!
https://sveltesirens.dev/
GNU General Public License v3.0
30 stars 8 forks source link

Handle images better #86

Open brittneypostma opened 1 year ago

brittneypostma commented 1 year ago

Optimize our images with something like Vite Imagetools

spences10 commented 1 year ago

Did you see that Vite turns assets into a hashed URL?

Here's Rich talking about it at ViteConf:

https://youtu.be/-OMPfr56kXI?t=400

And the reference in the example project:

https://github.com/sveltejs/kit-template-default/blob/455c5800c82cd4bc7ab266af13012b3bb72f89e9/src/routes/%2Bpage.svelte#L4

brittneypostma commented 1 year ago

Yes I did, I'm going through the code base right now with a move to Skelton UI and am moving images I see over to use that.