Closed lpillonel closed 2 years ago
I needed to be able to pass svgr options (for me to be able to set the icon option to true) :
plugins: [ { plugin: CracoEsbuildPlugin, options: { enableSvgr: true, svgrOptions: { icon: true, }, }, }, ],
Closes #31
Thanks for the pr, can you please update the package README to show how to use the option? Code looks good will release a new version after this :)
Documentation added : )
I needed to be able to pass svgr options (for me to be able to set the icon option to true) :
Closes #31