Skip to content

Instantly share code, notes, and snippets.

@pugson
Created September 7, 2016 23:53
Show Gist options
  • Save pugson/1ed22b2d2f9f9674eb2d33103c50b67a to your computer and use it in GitHub Desktop.
Save pugson/1ed22b2d2f9f9674eb2d33103c50b67a to your computer and use it in GitHub Desktop.
Compact settings for Sketch's SVGO Compressor Plugin
{
"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": 0,
"plugins": [
{
"name": "cleanupAttrs"
},
{
"name": "cleanupEnableBackground"
},
{
"name": "cleanupIDs"
},
{
"name": "cleanupListOfValues"
},
{
"name": "cleanupNumericValues"
},
{
"name": "collapseGroups"
},
{
"name": "convertStyleToAttrs"
},
{
"name": "convertTransform"
},
{
"name": "mergePaths"
},
{
"name": "minifyStyles"
},
{
"name": "removeComments"
},
{
"name": "removeDesc",
"params": {
"removeAny": true
}
},
{
"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