mirror of
https://github.com/atisawd/boxicons.git
synced 2024-11-13 19:04:52 +01:00
60 lines
No EOL
1.2 KiB
JavaScript
60 lines
No EOL
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)' } },
|
|
]
|
|
} |