gulp.src ➡️ icons.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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