File indexing completed on 2024-05-05 15:53:32

0001 // config used to optimize SVG files with svgo tool but keeping useful info (author, license ...),
0002 // avoiding desctructive changes and keeping it easy to edit if needed
0003 module.exports = {
0004   plugins: [
0005     'removeDoctype',
0006     'removeXMLProcInst',
0007     'cleanupAttrs',
0008     'mergeStyles',
0009     'inlineStyles',
0010     'minifyStyles',
0011     'removeUselessDefs',
0012     'convertColors',
0013     'removeUnknownsAndDefaults',
0014     'removeNonInheritableGroupAttrs',
0015     'removeUselessStrokeAndFill',
0016     'cleanupEnableBackground',
0017     'removeHiddenElems',
0018     'removeEmptyText',
0019     'moveElemsAttrsToGroup',
0020     'moveGroupAttrsToElems',
0021     'collapseGroups',
0022     'convertPathData',
0023     'convertTransform',
0024     'removeEmptyAttrs',
0025     'removeEmptyContainers',
0026     'removeUnusedNS',
0027     'sortDefsChildren',
0028     'removeDesc'
0029   ]
0030 }