poppa / sveltekit-svg

SvelteKit plugin that makes it possible to import SVG files as Svelte components, inline SVG code or urls
MIT License
230 stars 23 forks source link

Require statement not part of import statement #15

Closed idChef closed 2 years ago

idChef commented 2 years ago

It is currently impossible to import the plugin using require as stated in the README. Might confuse people.

poppa commented 2 years ago

Thanks for the feedback. It's now fixed!