mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
11 lines
341 B
JavaScript
11 lines
341 B
JavaScript
import fs from 'fs';
|
|
import path from 'path';
|
|
import icons from '../dist/icons.json';
|
|
import buildSpriteString from './build-sprite-string';
|
|
|
|
const OUT_FILE = path.resolve(__dirname, '../dist/feather-sprite.svg');
|
|
|
|
console.log(`Building ${OUT_FILE}`); // eslint-disable-line no-console
|
|
|
|
fs.writeFileSync(OUT_FILE, buildSpriteString(icons));
|