Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not inline anything in Sveltekit #41

Open
Edymov opened this issue Dec 13, 2023 · 1 comment
Open

Does not inline anything in Sveltekit #41

Edymov opened this issue Dec 13, 2023 · 1 comment

Comments

@Edymov
Copy link

Edymov commented Dec 13, 2023

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 Edymov changed the title Lib not working in Sveltekit Does not inline anything in Sveltekit Dec 13, 2023
@robinscholz
Copy link
Owner

Could you provide me with a minimal reproduction?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants