| Leo Repp | 58b9f11 | 2021-11-22 11:57:47 +0100 | [diff] [blame^] | 1 | # replace default config |
| 2 | |
| 3 | # multipass: true |
| 4 | # full: true |
| 5 | |
| 6 | plugins: |
| 7 | |
| 8 | # - name |
| 9 | # |
| 10 | # or: |
| 11 | # - name: false |
| 12 | # - name: true |
| 13 | # |
| 14 | # or: |
| 15 | # - name: |
| 16 | # param1: 1 |
| 17 | # param2: 2 |
| 18 | |
| 19 | - removeDoctype |
| 20 | - removeXMLProcInst |
| 21 | - removeComments |
| 22 | - removeMetadata |
| 23 | - removeXMLNS |
| 24 | - removeEditorsNSData |
| 25 | - cleanupAttrs |
| 26 | - inlineStyles |
| 27 | - minifyStyles |
| 28 | - convertStyleToAttrs |
| 29 | - cleanupIDs |
| 30 | - prefixIds |
| 31 | - removeRasterImages |
| 32 | - removeUselessDefs |
| 33 | - cleanupNumericValues |
| 34 | - cleanupListOfValues |
| 35 | - convertColors |
| 36 | - removeUnknownsAndDefaults |
| 37 | - removeNonInheritableGroupAttrs |
| 38 | - removeUselessStrokeAndFill |
| 39 | - removeViewBox |
| 40 | - cleanupEnableBackground |
| 41 | - removeHiddenElems |
| 42 | - removeEmptyText |
| 43 | - convertShapeToPath |
| 44 | - convertEllipseToCircle |
| 45 | - moveElemsAttrsToGroup |
| 46 | - moveGroupAttrsToElems |
| 47 | - collapseGroups |
| 48 | - convertPathData |
| 49 | - convertTransform |
| 50 | - removeEmptyAttrs |
| 51 | - removeEmptyContainers |
| 52 | - mergePaths |
| 53 | - removeUnusedNS |
| 54 | - sortAttrs |
| 55 | - sortDefsChildren |
| 56 | - removeTitle |
| 57 | - removeDesc |
| 58 | - removeDimensions |
| 59 | - removeAttrs |
| 60 | - removeAttributesBySelector |
| 61 | - removeElementsByAttr |
| 62 | - addClassesToSVGElement |
| 63 | - removeStyleElement |
| 64 | - removeScriptElement |
| 65 | - addAttributesToSVGElement |
| 66 | - removeOffCanvasPaths |
| 67 | - reusePaths |
| 68 | |
| 69 | # configure the indent (default 4 spaces) used by `--pretty` here: |
| 70 | # |
| 71 | # @see https://github.com/svg/svgo/blob/master/lib/svgo/js2svg.js#L6 for more config options |
| 72 | # |
| 73 | # js2svg: |
| 74 | # pretty: true |
| 75 | # indent: ' ' |