Optimize SVG in local like SVGOMG Installation Run npm install Usage Put the files that need to be optimized in svg/src folder. Start the process by running gulp Optimized files can be found in svg/dist