jacobmischka / gatsby-plugin-react-svg

Adds svg-react-loader to gatsby webpack config
https://www.npmjs.com/package/gatsby-plugin-react-svg
MIT License
70 stars 21 forks source link

SVGO Support #22

Open jhoffmcd opened 5 years ago

jhoffmcd commented 5 years ago

Would it be possible to add an option to pass SVGO config and cleanup the SVG's according to those rules?

I've used react-svg-loader and it's worked great for an icon system.

I noticed also that gatsby-plugin-svgr also includes this as an option.