跳至正文
Wener Notes

svgo

约 1 分钟阅读
    • Node.js tool for optimizing SVG file
    • 开发不太活跃
  • 参考
bash
npx -y svgo -f public/icons/svg/ --config svgo.config.json --pretty
json
{
  "plugins": [
    {
      "name": "removeAttrs",
      "attrs": ["data-.*"]
    },
    {
      "name": "sortAttrs"
    }
  ]
}

关联信息

反向链接、本文链接的其他页面和外部资料。

反向链接

  • Image Awesome
    笔记 · svgo

    ImageOptim · GPLv2 · macOS 图像优化 GUI 工具 · Zopfli, PNGOUT, OxiPNG, AdvPNG, PNGCrush, JPEGOptim, Jpegtran, Guetzli, Gifsicle, SVGO, svgcleaner, MozJPEG

参考资料

GitHub2 条
其他外链1 条
最近更新commit 973a206编辑