Custom svg generation for reducing file size #633
nathan-yuen
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
PRs are welcome 😁👍 |
Beta Was this translation helpful? Give feedback.
0 replies
-
There are already libraries for optimizing svgs like svgo. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any chance of supporting custom svg generation?
Right now every
<path>
has its ownstroke
,fill
, &stroke-linecap
.All these attributes could be replaced with a scoped
<style>
if I only need to support single stroke color?And it also help reduce file size significantly!
Exmaple
Beta Was this translation helpful? Give feedback.
All reactions