From da42c8b4c190a5baf2211a21625318c437f87285 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Thu, 31 Oct 2019 23:01:44 -0700 Subject: [PATCH] fix: fix circle in svg (#1621) fixes #1616 --- bin/build-svg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/build-svg.js b/bin/build-svg.js index 69b8e8a1..86f6f785 100755 --- a/bin/build-svg.js +++ b/bin/build-svg.js @@ -14,7 +14,7 @@ async function readSvg (svg) { const content = await readFile(filepath, 'utf8') const optimized = (await svgo.optimize(content)) const $optimized = $(optimized.data) - const $path = $optimized.find('path').removeAttr('fill') + const $path = $optimized.find('path, circle').removeAttr('fill') const $symbol = $('') .attr('id', svg.id) .attr('viewBox', $optimized.attr('viewBox'))