damianstasik / vite-svg

Use SVG files as Vue components with Vite
MIT License
106 stars 14 forks source link

feat: Add extra svgr config #60

Open doumart opened 2 years ago

doumart commented 2 years ago

I don't know if it is a good idea to do that but the svgr part of the plugin becomes event move flexible since it gives the user all the svgr config object. I wanted to use dimensions: false and svgo didn't deliver with the removeDimensions: true.