fix(ui): fix comments in iconsjs

This commit is contained in:
sylenien 2022-05-16 18:10:52 +02:00 committed by Delirium
parent a2c999ccef
commit cba53fa284

View file

@ -8,7 +8,7 @@ const ICONS_DIRNAME = 'app/svg/icons';
const UI_DIRNAME = 'app/components/ui';
const svgo = new SVGO({ plugins: [
//"width", "height",
//"width", "height", <- sometimes eating useful attrs from icons and break them
{ removeAttrs: { attrs: [ "class", "data-name", "dataName" ] } },
{ addAttributesToSVGElement: { attributes: [ "width={ `${ width }px` }", "height={ `${ height }px` }" ] } },
{ convertPathData: true }, // ?