Created
January 29, 2018 02:40
-
-
Save tobywf/a11ff29e5b9128e04b2e39ea2fb9cee6 to your computer and use it in GitHub Desktop.
My SVGO configuration file
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
multipass: true | |
plugins: | |
- removeDoctype | |
- removeXMLProcInst | |
- removeComments | |
- removeMetadata | |
- removeXMLNS | |
- removeEditorsNSData | |
- cleanupAttrs | |
- minifyStyles | |
- convertStyleToAttrs | |
- cleanupIDs | |
- removeRasterImages | |
- removeUselessDefs | |
- cleanupNumericValues | |
- cleanupListOfValues | |
- convertColors | |
- removeUnknownsAndDefaults | |
- removeNonInheritableGroupAttrs | |
- removeUselessStrokeAndFill | |
# - removeViewBox | |
- cleanupEnableBackground | |
- removeHiddenElems | |
- removeEmptyText | |
- convertShapeToPath | |
- moveElemsAttrsToGroup | |
# - moveGroupAttrsToElems | |
- collapseGroups | |
# - convertPathData | |
# - convertTransform | |
- removeEmptyAttrs | |
- removeEmptyContainers | |
- mergePaths | |
- removeUnusedNS | |
- transformsWithOnePath | |
- sortAttrs | |
- removeTitle | |
- removeDesc | |
# - removeDimensions | |
# - removeAttrs | |
# - removeElementsByAttr | |
# - addClassesToSVGElement | |
# - removeStyleElement | |
# - removeScriptElement | |
# - addAttributesToSVGElement |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment