vnphanquang / svelte-put

Useful svelte stuff to put in your projects
https://svelte-put.vnphanquang.com
MIT License
836 stars 25 forks source link

[inline-svg@next] Type gen on Windows outputs incorrect path separator #320

Closed xiBread closed 1 month ago

xiBread commented 4 months ago

The separator on Windows is \ which is seen as an escape.

image

image

Caused by path.relative usage on this line

vnphanquang commented 4 months ago

Thanks for reporting. I'll look into this soon.

vnphanquang commented 4 months ago

@xiBread can you let me know what version of Svelte & @svelte-put/inline-svg you are running on? All latest I assume?

xiBread commented 4 months ago

@vnphanquang

vnphanquang commented 1 month ago

Fixed via https://github.com/vnphanquang/svelte-put/commit/b7e69fe31946fe875454f764ec4a81f377ad7603, patch is now available in @svelte-put/inline-svg@4.0.0-next.4.

Thanks again for reporting, and sorry about the delay.