Last active
December 17, 2015 09:19
-
-
Save jmeosbn/5586092 to your computer and use it in GitHub Desktop.
SVGO settings to minify an SVG logo
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
# replace default config | |
# full: true | |
# Preferences equivalent to: | |
# svgo --pretty --disable removeHiddenElems --disable collapseGroups --disable cleanupIDs | |
js2svg: | |
pretty: true | |
plugins: | |
# - name | |
# | |
# or: | |
# - name: false | |
# - name: true | |
# | |
# or: | |
# - name: | |
# param1: 1 | |
# param2: 2 | |
- removeDoctype | |
- removeXMLProcInst | |
- removeComments | |
- removeMetadata | |
- removeEditorsNSData | |
- cleanupAttrs | |
- convertStyleToAttrs | |
- removeRasterImages | |
- cleanupNumericValues | |
- convertColors | |
- removeUnknownsAndDefaults | |
- removeNonInheritableGroupAttrs | |
- removeUselessStrokeAndFill | |
- removeViewBox | |
- cleanupEnableBackground | |
- removeHiddenElems: false | |
- removeEmptyText | |
- moveElemsAttrsToGroup | |
- collapseGroups: false | |
- moveGroupAttrsToElems | |
- convertPathData | |
- convertTransform | |
- removeEmptyAttrs | |
- removeEmptyContainers | |
- mergePaths | |
- cleanupIDs: false | |
- removeUnusedNS | |
- transformsWithOnePath |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment