Create-react-app: How to enable and configure svgo?

Created on 8 Dec 2018  路  1Comment  路  Source: facebook/create-react-app

As i understood, svgo is disabled by default. I would like to enable and configure it, but .svgrrc doesn't work. Is there a way I can achieve it? Or mb should I just use svgo/cli before saving svg-files.

>All comments

We don't allow you to configure SVGR so running svgo/cli on your SVG files is probably your best option.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dualcnhq picture dualcnhq  路  3Comments

AlexeyRyashencev picture AlexeyRyashencev  路  3Comments

wereHamster picture wereHamster  路  3Comments

adrice727 picture adrice727  路  3Comments

Aranir picture Aranir  路  3Comments