1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- # 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
- - moveElemsAttrsToGroup
- - moveGroupAttrsToElems
- - collapseGroups
- - convertPathData
- - convertTransform
- - removeEmptyAttrs
- - removeEmptyContainers
- - mergePaths
- - removeUnusedNS
- - sortAttrs
- - 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: ' '
|