Created
August 16, 2016 13:17
-
-
Save abarre/272928ec98ac5c516e5330dd83c69e19 to your computer and use it in GitHub Desktop.
This file contains 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
for plugin in cleanupAttrs removeDoctype removeXMLProcInst removeComments removeMetadata removeTitle removeDesc removeUselessDefs removeEditorsNSData removeEmptyAttrs removeHiddenElems removeEmptyText removeEmptyContainers removeViewBox cleanUpEnableBackground minifyStyles convertStyleToAttrs convertColors convertPathData convertTransform removeUnknownsAndDefaults removeNonInheritableGroupAttrs removeUselessStrokeAndFill removeUnusedNS cleanupIDs cleanupNumericValues cleanupListOfValues moveElemsAttrsToGroup moveGroupAttrsToElems collapseGroups removeRasterImages mergePaths convertShapeToPath sortAttrs transformsWithOnePath removeDimensions removeAttrs addClassesToSVGElement removeStyleElement | |
do | |
svgo --disable=$plugin ok.svg ok.min-$plugin.svg | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment