Fork of https://github.com/jakearchibald/svgomg - Google assets removed.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.json 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. {
  2. "plugins": [
  3. {
  4. "id": "removeDoctype",
  5. "name": "Remove doctype"
  6. },
  7. {
  8. "id": "removeXMLProcInst",
  9. "name": "Remove XML instructions"
  10. },
  11. {
  12. "id": "removeComments",
  13. "name": "Remove comments"
  14. },
  15. {
  16. "id": "removeMetadata",
  17. "name": "Remove <metadata>"
  18. },
  19. {
  20. "id": "removeXMLNS",
  21. "name": "Remove xmlns"
  22. },
  23. {
  24. "id": "removeEditorsNSData",
  25. "name": "Remove editor data"
  26. },
  27. {
  28. "id": "cleanupAttrs",
  29. "name": "Cleanup attribute whitespace"
  30. },
  31. {
  32. "id": "inlineStyles",
  33. "name": "Inline styles"
  34. },
  35. {
  36. "id": "minifyStyles",
  37. "name": "Minify styles"
  38. },
  39. {
  40. "id": "convertStyleToAttrs",
  41. "name": "Style to attributes"
  42. },
  43. {
  44. "id": "cleanupIDs",
  45. "name": "Clean IDs"
  46. },
  47. {
  48. "id": "removeRasterImages",
  49. "name": "Remove raster images"
  50. },
  51. {
  52. "id": "removeUselessDefs",
  53. "name": "Remove unused defs"
  54. },
  55. {
  56. "id": "cleanupNumericValues",
  57. "name": "Round/rewrite numbers"
  58. },
  59. {
  60. "id": "cleanupListOfValues",
  61. "name": "Round/rewrite number lists"
  62. },
  63. {
  64. "id": "convertColors",
  65. "name": "Minify colours"
  66. },
  67. {
  68. "id": "removeUnknownsAndDefaults",
  69. "name": "Remove unknowns & defaults"
  70. },
  71. {
  72. "id": "removeNonInheritableGroupAttrs",
  73. "name": "Remove unneeded group attrs"
  74. },
  75. {
  76. "id": "removeUselessStrokeAndFill",
  77. "name": "Remove useless stroke & fill"
  78. },
  79. {
  80. "id": "removeViewBox",
  81. "name": "Remove viewBox"
  82. },
  83. {
  84. "id": "cleanupEnableBackground",
  85. "name": "Remove/tidy enable-background"
  86. },
  87. {
  88. "id": "removeHiddenElems",
  89. "name": "Remove hidden elements"
  90. },
  91. {
  92. "id": "removeEmptyText",
  93. "name": "Remove empty text"
  94. },
  95. {
  96. "id": "convertShapeToPath",
  97. "name": "Shapes to (smaller) paths"
  98. },
  99. {
  100. "id": "moveElemsAttrsToGroup",
  101. "name": "Move attrs to parent group"
  102. },
  103. {
  104. "id": "moveGroupAttrsToElems",
  105. "name": "Move group attrs to elements"
  106. },
  107. {
  108. "id": "collapseGroups",
  109. "name": "Collapse useless groups"
  110. },
  111. {
  112. "id": "convertPathData",
  113. "name": "Round/rewrite paths"
  114. },
  115. {
  116. "id": "convertTransform",
  117. "name": "Round/rewrite transforms"
  118. },
  119. {
  120. "id": "removeEmptyAttrs",
  121. "name": "Remove empty attrs"
  122. },
  123. {
  124. "id": "removeEmptyContainers",
  125. "name": "Remove empty containers"
  126. },
  127. {
  128. "id": "mergePaths",
  129. "name": "Merge paths"
  130. },
  131. {
  132. "id": "removeUnusedNS",
  133. "name": "Remove unused namespaces"
  134. },
  135. {
  136. "id": "sortAttrs",
  137. "name": "Sort attrs"
  138. },
  139. {
  140. "id": "removeTitle",
  141. "name": "Remove <title>"
  142. },
  143. {
  144. "id": "removeDesc",
  145. "name": "Remove <desc>"
  146. },
  147. {
  148. "id": "removeDimensions",
  149. "name": "Prefer viewBox to width/height"
  150. },
  151. {
  152. "id": "removeStyleElement",
  153. "name": "Remove style elements"
  154. },
  155. {
  156. "id": "removeScriptElement",
  157. "name": "Remove script elements"
  158. }
  159. ]
  160. }