mirror of
https://github.com/atisawd/boxicons.git
synced 2024-12-22 20:32:38 +01:00
60 lines
1.2 KiB
JavaScript
60 lines
1.2 KiB
JavaScript
|
module.exports = {
|
||
|
|
||
|
plugins: [
|
||
|
'removeDoctype',
|
||
|
'removeXMLProcInst',
|
||
|
'removeComments',
|
||
|
'removeMetadata',
|
||
|
'removeEditorsNSData',
|
||
|
'cleanupAttrs',
|
||
|
'mergeStyles',
|
||
|
'inlineStyles',
|
||
|
'minifyStyles',
|
||
|
'cleanupIDs',
|
||
|
'removeUselessDefs',
|
||
|
'cleanupNumericValues',
|
||
|
'convertColors',
|
||
|
'removeUnknownsAndDefaults',
|
||
|
'removeNonInheritableGroupAttrs',
|
||
|
'removeUselessStrokeAndFill',
|
||
|
'removeViewBox',
|
||
|
'cleanupEnableBackground',
|
||
|
'removeHiddenElems',
|
||
|
'removeEmptyText',
|
||
|
'convertShapeToPath',
|
||
|
'convertEllipseToCircle',
|
||
|
'moveElemsAttrsToGroup',
|
||
|
'moveGroupAttrsToElems',
|
||
|
'collapseGroups',
|
||
|
'convertPathData',
|
||
|
'convertTransform',
|
||
|
'removeEmptyAttrs',
|
||
|
'removeEmptyContainers',
|
||
|
'mergePaths',
|
||
|
'removeUnusedNS',
|
||
|
'sortDefsChildren',
|
||
|
'removeTitle',
|
||
|
'removeDesc',
|
||
|
{
|
||
|
name: 'addAttributesToSVGElement',
|
||
|
params: {
|
||
|
attributes: [
|
||
|
{
|
||
|
viewBox: '0 0 24 24'
|
||
|
},
|
||
|
{
|
||
|
width: '24'
|
||
|
},
|
||
|
{
|
||
|
height: '24'
|
||
|
},
|
||
|
{
|
||
|
xmlns:'http://www.w3.org/2000/svg'
|
||
|
}
|
||
|
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{ name: 'removeAttrs', params: { attrs: '(stroke|fill)' } },
|
||
|
]
|
||
|
}
|