This commit is contained in:
John Letey
2020-06-08 16:39:52 +01:00
commit 433bbae4f1
337 changed files with 21687 additions and 0 deletions

13
bin/build-svgs.js Normal file
View File

@@ -0,0 +1,13 @@
import fs from 'fs';
import path from 'path';
import icons from '../src/icons';
const OUT_DIR = path.resolve(__dirname, '../dist/icons');
console.log(`Building SVGs in ${OUT_DIR}...`);
Object.keys(icons).forEach(name => {
const svg = icons[name].toSvg();
fs.writeFileSync(path.join(OUT_DIR, `${name}.svg`), svg);
});