From cba53fa2844390c0606c00fd77c7569a32028ef6 Mon Sep 17 00:00:00 2001 From: sylenien Date: Mon, 16 May 2022 18:10:52 +0200 Subject: [PATCH] fix(ui): fix comments in iconsjs --- frontend/scripts/icons.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/scripts/icons.js b/frontend/scripts/icons.js index 90bdfcfed..923426dd6 100644 --- a/frontend/scripts/icons.js +++ b/frontend/scripts/icons.js @@ -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 }, // ?