Skip to content

Instantly share code, notes, and snippets.

@iconifyit
Created December 11, 2019 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iconifyit/9247146c1dbc7f6c1bb2c27a4c8773d5 to your computer and use it in GitHub Desktop.
Save iconifyit/9247146c1dbc7f6c1bb2c27a4c8773d5 to your computer and use it in GitHub Desktop.
{
"multipass" : true,
"plugins": [
{"removeTitle": false},
{"cleanupAttrs": true},
{"inlineStyles": {"onlyMatchedOnce": false}},
{"removeDoctype": true},
{"removeXMLProcInst": true},
{"removeComments": true},
{"removeMetadata": true},
{"removeDesc": true},
{"removeUselessDefs": true},
{"removeEditorsNSData": true},
{"removeEmptyAttrs": true},
{"removeHiddenElems": true},
{"removeEmptyText": true},
{"removeEmptyContainers": true},
{"removeViewBox": true},
{"cleanupEnableBackground": true},
{"convertStyleToAttrs": true},
{"convertColors": true},
{"convertPathData": false},
{"convertTransform": true},
{"removeUnknownsAndDefaults": true},
{"removeNonInheritableGroupAttrs": true},
{"removeUselessStrokeAndFill": true},
{"removeUnusedNS": true},
{"cleanupIDs": true},
{"cleanupNumericValues": true},
{"moveElemsAttrsToGroup": true},
{"moveGroupAttrsToElems": true},
{"collapseGroups": true},
{"removeRasterImages": true},
{"mergePaths": true},
{"convertShapeToPath": false},
{"sortAttrs": true}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment