Skip to content

Instantly share code, notes, and snippets.

@bendc
Created August 30, 2016 07:05
Show Gist options
  • Star 19 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save bendc/0aeef68047b6a5563b3f3988bc2c6511 to your computer and use it in GitHub Desktop.
Save bendc/0aeef68047b6a5563b3f3988bc2c6511 to your computer and use it in GitHub Desktop.
Sketch's SVGO Compressor settings
{
"comment": "This is the settings file for the SVGO Compressor Plugin. For more info, please check <https://github.com/BohemianCoding/svgo-compressor>",
"pretty": false,
"indent": 2,
"plugins": [
{
"name": "cleanupAttrs"
},
{
"name": "cleanupEnableBackground"
},
{
"name": "cleanupIDs"
},
{
"name": "cleanupListOfValues"
},
{
"name": "cleanupNumericValues",
"params": {
"floatPrecision": 2
}
},
{
"name": "collapseGroups"
},
{
"name": "convertPathData",
"params": {
"floatPrecision": 2
}
},
{
"name": "convertStyleToAttrs"
},
{
"name": "convertTransform"
},
{
"name": "mergePaths"
},
{
"name": "minifyStyles"
},
{
"name": "removeComments"
},
{
"name": "removeDesc",
"params": {
"removeAny": true
}
},
{
"name": "removeDimensions"
},
{
"name": "removeDoctype"
},
{
"name": "removeEditorsNSData"
},
{
"name": "removeEmptyAttrs"
},
{
"name": "removeEmptyContainers"
},
{
"name": "removeEmptyText"
},
{
"name": "removeMetadata"
},
{
"name": "removeNonInheritableGroupAttrs"
},
{
"name": "removeTitle"
},
{
"name": "removeUnknownsAndDefaults"
},
{
"name": "removeUnusedNS"
},
{
"name": "removeUselessDefs"
},
{
"name": "removeUselessStrokeAndFill"
},
{
"name": "removeXMLProcInst"
},
{
"name": "sortAttrs"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment