[Plan] Move to SVG fragments (blocked by FF esr)
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3205375. --> Reported by: [saschaeggi](https://www.drupal.org/user/1999056) Related to !65 !64 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Move from inlining SVGs to CSS to use fragments. This would save around 100kb in size of CSS.<br> The reason why we inline SVGs is that FF did not support it until recently. It's now supported from FF 84+</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>1. enable <code>format: 'fragment',</code> in webpack.config.js<br> 2. build frontend: <code>npm run build</code></p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Use fragments instead of inlining SVGs</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>Decide to use fragments or not</p> <h3 id="summary-ui-changes">User interface changes</h3> <p>No icons will be displayed in FF &lt; 84</p> <h3 id="summary-api-changes">API changes</h3> <p>&ndash;</p> <h3 id="summary-data-model-changes">Data model changes</h3> <p>&ndash;</p>
issue