dilanx / craco

Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.
https://craco.js.org
Apache License 2.0
7.44k stars 498 forks source link

Pass configuration options to SVGR #431

Open jsakas opened 2 years ago

jsakas commented 2 years ago

Hello, it would be awesome if we could configure SVGR using CRACO.

CRA seems to have SVGR configured by default, but there are no options to customize the config it like you can with babel and others.

There are a lot of SVGR options like Replace attribute value which are extremely useful for managing icon colors.

dilanx commented 2 years ago

I'll look into it!