I would love having a --silent flag or similar added to the CLI.
In my current project I have +200 icons that are being generated and it's bloating my logs seeing src/images/icons/icon-name.svg -> src/components/Icon/icons/icon-name.js repeated n amount of times.
“scripts“: {
"icons“: "svgr --filename-case kebab --silent --replace-attr-values '#3A416F=currentColor' --svg-props 'viewBox=0 0 24 24' -d src/components/Icon/icons src/images/icons",
}
Yeah, nice addition!
Will be released in v5.
Fixed in 100147fd5dad140bf8e41d725a8c9b55ea93a354
Thanks @gregberge and @everdimension, you legends.
Most helpful comment
Yeah, nice addition!