Skip to content

Process only svg files from meta.json #6

Description

@spustlik

Hi, I wanted to reduce font only to my used icons, so I processed my applicaiton to find all occurence of mdi-* and then to filter out meta.json to only used icons and build my own font.
But there is some problem that all .svg files are compiled into font files
file index.js, line 314:
files: 'svg/
.svg',
so i tried to use this
files: metaJson.map(icon => path.join(svgFolder, u${icon.codepoint}-${icon.name}.svg)),
and it works!

so please consider to change it to this behaviour to allow same scenario to others.
Thank you.
Jan

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions