Files
explore/svgo.config.format.js
0c5a297834 "Add chain" button in the header (#3084)
* redesign "add chain" button

* fix wallet detection

* [skip ci] update default value for ENV

* fix tests

* return button to the footer and add source to mixpanel event

* regcred from helmfile for review

* [skip ci] remove wallets env from values for demo stand

* use react-query to cache detection result

* add cookie to hide button in the topbar

* add prefix to svg ids to fix rabby icon

* update screenshot

* remove unnecessary comment

---------

Co-authored-by: Nick Zenchik <n.zenchik@gmail.com>
2025-11-17 18:15:21 +01:00

23 lines
501 B
JavaScript

module.exports = {
plugins: [
{
name: 'preset-default',
params: {
overrides: {
removeViewBox: false,
removeHiddenElems: false,
},
},
},
'removeDimensions',
// during formatting we need to prefix ids to avoid conflicts with other icons
// this is not the case for building the sprite
// so we use a separate config only with one additional plugin
'prefixIds',
],
js2svg: {
indent: 2,
pretty: true,
},
};