123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- # replace default config
- # multipass: true
- # full: true
- plugins:
- # - name
- #
- # or:
- # - name: false
- # - name: true
- #
- # or:
- # - name:
- # param1: 1
- # param2: 2
- - removeDoctype
- - removeXMLProcInst
- - removeComments
- - removeMetadata
- - removeXMLNS
- - removeEditorsNSData
- - cleanupAttrs
- - inlineStyles
- - minifyStyles
- - convertStyleToAttrs
- - cleanupIDs
- - prefixIds
- - removeRasterImages
- - removeUselessDefs
- - cleanupNumericValues
- - cleanupListOfValues
- - convertColors
- - removeUnknownsAndDefaults
- - removeNonInheritableGroupAttrs
- - removeUselessStrokeAndFill
- - removeViewBox
- - 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
- # configure the indent (default 4 spaces) used by `--pretty` here:
- #
- # @see https://github.com/svg/svgo/blob/master/lib/svgo/js2svg.js#L6 for more config options
- #
- # js2svg:
- # pretty: true
- # indent: ' '
|