-
-
Save ganapativs/b8d6ae3fabb4843ecb197bdfb1566747 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