Skip to content

Instantly share code, notes, and snippets.

@davatron5000
Last active August 29, 2015 14:13
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save davatron5000/73f52f7f132f4dd9566e to your computer and use it in GitHub Desktop.
gulp.src ➡️ icons.json
// I have a list SVG icons that I'm using svg-store on, but I'd also like to
// just throw out some JSON so I could loop through icons for my styleguide.
gulp.task('list-icons', function () {
gulp.src('assets/icons/*.svg')
// write list of matched filenames to icons.json
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment