Automatic lossless compression for your bitmap assets, right when you export them.
August 4, 2020
Requires Sketch 3.8 or newer.
Selecting menu items or hitting keys is out of fashion, so SVGO Compressor will compress your SVG assets whenever you export them, without you having to do anything.
You’ll get a message on your document window showing some stats about the process to let you know the compression worked as expected.
If you want your SVG assets uncompressed, you can temporarily disable the Plugin by opening Sketch’s Preferences › Plugins and unchecking ‘SVGO Compressor’. Alternatively, you can right-click any layer and select Copy SVG Code, and that will give you the original, uncompressed code.
If for some reason you’re not happy with the default settings we’ve chosen, you can select Plugins › SVGO Compressor › About SVGO Compressor and then click the Edit SVGO Settings… button. You default editor will open the
svgo.json file, where you’ll be able to tweak the settings.
For an explanation of what each SVGO Plugin does, please refer to the SVGO page on GitHub.