Utility script to convert a folder of svg files to html files (incl. extra attributes).
- Place your
.svg
files in the/svgs
folder. - Run
node script.js
- Profit ๐
In addition to a folder of .html
svgs, you get a nice js
file with LWC based imports.
Example svgs thanks to tabler-icons