当前位置:网站首页>Svgo v3.9.0+

Svgo v3.9.0+

2022-07-05 09:09:00 Flying bear blablabla

This project provides svg Compression processing optimization function . be based on  svgo Realization .

npm run svgo

Many of us download or  Sketch  Derived svg There will be a lot of redundant and useless information , Greatly increased svg The size of the , We can use  svgo  Optimize it . For example, the following figure is used  Sketch  One of the exported svg

We can execute npm run svgo

Useless information has been disposed of .

More detailed configuration Can be in  /src/icons/svgo.yml To configure .

原网站

版权声明
本文为[Flying bear blablabla]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140538500818.html