Closed
Description
Is this a bug report?
No.
I would like to use the new svg as react component feature from CRA2 but svgr keeps removing the <style> tag from my image. What I want is to use the inlineStyles
plugin from svgo to transform the style tag into properties of the svg tag.
As I can see in #5062 and #4799 svgo has been disabled. Is there any way I can override the default configuration ? I have tried with a .svgrrc.json
, a .svgo.yml
and svgr
key in the package.json but nothing worked.