Created
August 30, 2016 07:05
-
-
Save bendc/0aeef68047b6a5563b3f3988bc2c6511 to your computer and use it in GitHub Desktop.
Sketch's SVGO Compressor settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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