Skip to content

Instantly share code, notes, and snippets.

@gerbyzation
Last active May 14, 2020 11:53
Show Gist options
  • Save gerbyzation/90f8233f7b71b6cc3f2c56bb202397ca to your computer and use it in GitHub Desktop.
Save gerbyzation/90f8233f7b71b6cc3f2c56bb202397ca to your computer and use it in GitHub Desktop.
Actioncy svgo config file
{
"plugins": [
"removeDoctype",
"removeXMLProcInst",
"removeComments",
"removeMetadata",
"removeXMLNS",
"removeEditorsNSData",
"cleanupAttrs",
"inlineStyles",
"minifyStyles",
"convertStyleToAttrs",
"cleanupIDs",
"prefixIds",
"removeRasterImages",
"removeUselessDefs",
"cleanupNumericValues",
"cleanupListOfValues",
"convertColors",
"removeUnknownsAndDefaults",
"removeNonInheritableGroupAttrs",
"removeUselessStrokeAndFill",
{
"removeViewBox": false
},
"cleanupEnableBackground",
"removeHiddenElems",
"removeEmptyText",
"convertShapeToPath",
"convertEllipseToCircle",
"moveElemsAttrsToGroup",
"moveGroupAttrsToElems",
"collapseGroups",
"convertPathData",
"convertTransform",
"removeEmptyAttrs",
"removeEmptyContainers",
"mergePaths",
"removeUnusedNS",
"sortAttrs",
"sortDefsChildren",
"removeTitle",
"removeDesc",
"removeDimensions",
"removeAttrs",
"removeAttributesBySelector",
"removeElementsByAttr",
"addClassesToSVGElement",
"removeStyleElement",
"removeScriptElement",
"addAttributesToSVGElement",
"removeOffCanvasPaths",
"reusePaths"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment