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

jnachtigall picture jnachtigall  路  3Comments

stopachka picture stopachka  路  3Comments

onelson picture onelson  路  3Comments

fson picture fson  路  3Comments

dualcnhq picture dualcnhq  路  3Comments