v3.9.0+
SvgoThis project provides svg compression processing optimization. Based on svgo.
npm run svgo
Many online downloads or svg exported by Sketch
will have a lot of redundant and useless information, greatly increasing the size of svg. We can optimize it with svgo
. For example, the following figure is an svg exported by Sketch
We can execute npm run svgo
Useless information is processed.
More detailed configuration can be configured in /scr/icons/svgo.yml
.