sveltekit-svg icon indicating copy to clipboard operation
sveltekit-svg copied to clipboard

`?url` + SVGO?

Open aradalvand opened this issue 1 year ago • 11 comments

Hey there! I have a scenario where I need to import an SVG file as a URL (rather than as a Svelte component), but I still want it to go through SVGO. Unfortunately, using the ?url option seems to cause SVGO to be bypassed. Is there a way around this? And wouldn't it make more sense in general to have all SVGs go through SVGO regardless of how they're imported? That's certainly what I was expecting.

aradalvand avatar Dec 09 '23 02:12 aradalvand