A command-line tool for combining SVG files into a single sprite sheet using
<symbol> tags.
npm install -g svgstore-cli
svgstore [-o OUTFILE] [-p PREFIX] [--inline] INPUT ...
- Multiple input files can be specified
- Input files can be globs (e.g.,
**/*.svg) - Output to stdout by default
- Can direct output to a file with the
-o outfileflag - Can prefix the symbol names using the
-p prefixflag - Supports
--inlineto avoid generating XML doctype
Licensed under MIT