svelte-inline-svg icon indicating copy to clipboard operation
svelte-inline-svg copied to clipboard

Does not inline anything in Sveltekit

Open Edymov opened this issue 1 year ago • 1 comments

Lib does not work in Sveltekit. It renders only empty svg:

<svg xmlns="http://www.w3.org/2000/svg" width="240" height="240" fill="red">
<!-- HTML_TAG_START -->
undefined
<!-- HTML_TAG_END -->
</svg>

But, if i copy it in project and use it from there, it somehow works

svelte-inline-svg: 1.2.0 Node: 16.15.1 Sveltekit: 1.27.4 Svelte: 4.2.7

Edymov avatar Dec 13 '23 14:12 Edymov

Could you provide me with a minimal reproduction?

robinscholz avatar Jan 29 '24 15:01 robinscholz