codefeathers / rollup-plugin-svelte-svg

Import SVG files as Svelte Components
MIT License
75 stars 13 forks source link

Error: 'target' is a required option #17

Closed romdim closed 3 years ago

romdim commented 3 years ago

I have a sapper setup and everything works fine for my SVGs in production mode following your readme but not for the dev env, which results in Error: 'target' is a required option. Had to remove the dev option from within rollup in order to not get the error. I don't know if this is relevant only to me but I thought to put it here in case someone else needs it too. You can close this issue if you cannot reproduce it. Thanks for the plugin btw!

MKRhere commented 3 years ago

Sorry for the late response, but I couldn't reproduce this issue and hoped someone could add on to it. Feel free to reopen if you could create a minimal reproduction with this issue.