svelte-inline-svg
svelte-inline-svg copied to clipboard
Does not inline anything in Sveltekit
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
Could you provide me with a minimal reproduction?