Skip to content

Commit

Permalink
fix: use lower case for svg name
Browse files Browse the repository at this point in the history
  • Loading branch information
darrytai committed May 22, 2024
1 parent 6551040 commit c0d7948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/buildSVGIcons.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ icons.sort(function (a, b) {
});

icons.forEach((icon) => {
const targetPath = path.join(targetDir, `${icon.name}.svg`);
const targetPath = path.join(targetDir, `${icon.name.toLowerCase()}.svg`);
icon.width = icon.height = icon.grid;
icon.svgPath = svgGen(icon.paths);
const scale = icon.height / viewBox;
Expand Down

0 comments on commit c0d7948

Please sign in to comment.