Create a gist now

Instantly share code, notes, and snippets.

@mhauken /svgo.json forked from bendc/svgo.json
Last active Apr 16, 2018

Embed
What would you like to do?
Sketch's SVGO Compressor settings
{
"comment": "A modified svgo compression-settings for SVGO-compresspor by Marius Hauken. 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",
"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