Closed frederikheld closed 7 months ago
vite-svg-loader uses SVGO for SVG optimization, that includes removing meta, perhaps it also has an option to extract only visible layers, but I didnt found it. If you know algorithm, that can solve your issue, you can create and publish it as SVGO plugin
You could indeed use SVGO for this
I'm looking for a svg loader plugin to use with vue3/nuxt3 that automatically processes my svg source file (created in Inkscape) and extracts only the visible layers, strips meta information, etc. to reduce the file size for prod.
Is this something this plugin can do? I couln't find any information about such a feature in the docs.
Thanks in advance for your response! Frederik