xiphux / svimg

Svelte image component with image preprocessing and lazy loading
ISC License
243 stars 15 forks source link

Sourcemap support #31

Open benmccann opened 2 years ago

benmccann commented 2 years ago

It looks like the preprocess edits the .svelte files without updating the source map, which will break source maps

Look at the example here: https://svelte.dev/docs#compile-time-svelte-preprocess

xiphux commented 2 years ago

Yes, I think sourcemap support was added sometime after this package was created.