Make all symbol names lowercase.

pull/4/head
Atul Varma 2021-02-15 12:39:22 -05:00
rodzic e736afc7be
commit 36165f2892
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -93,7 +93,7 @@ export function build() {
});
const $ = cheerio.load(svgMarkup);
const svgEl = $("svg");
const name = path.basename(filename, SVG_EXT);
const name = path.basename(filename, SVG_EXT).toLowerCase();
const rawLayers = onlyTags(svgEl.children()).map((ch) =>
serializeSvgSymbolElement($, ch)
);