summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild/generate-svg.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/generate-svg.js b/build/generate-svg.js
index f1704712f3..29b7d47693 100755
--- a/build/generate-svg.js
+++ b/build/generate-svg.js
@@ -30,6 +30,7 @@ async function processFile(file, {prefix, fullName} = {}) {
{name: 'preset-default'},
{name: 'removeXMLNS'},
{name: 'removeDimensions'},
+ {name: 'prefixIds', params: {prefix: () => name}},
{name: 'addClassesToSVGElement', params: {classNames: ['svg', name]}},
{name: 'addAttributesToSVGElement', params: {attributes: [{'width': '16'}, {'height': '16'}, {'aria-hidden': 'true'}]}},
],