poppa / sveltekit-svg

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

Component should use the output of optimize #7

Closed bummzack closed 3 years ago

bummzack commented 3 years ago

Right now, the svg is optimized, but only used when ?src is used. The Svelte Component doesn't use the optimized output. This PR fixes that.

poppa commented 3 years ago

Ah, but of course! Thanks for the fix 😊