Skip to content

Instantly share code, notes, and snippets.

@matthewsimo
Forked from bendc/svgo.json
Created August 30, 2016 10:45
Show Gist options
  • Save matthewsimo/0c94e4445b8ee2c9fa8d87760b7365a6 to your computer and use it in GitHub Desktop.
Save matthewsimo/0c94e4445b8ee2c9fa8d87760b7365a6 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