In this lesson, we’ll explore the process of combining all of your SVG icons into one SVG sprite, to be included directly into markup. We’ll use the command line, along with the svgo
and svg-sprite-generator
npm packages to automate the process of compressing the SVGs and creating the sprite.
Note: This lesson assumes you have npm
installed.