Optimize SVG images before uploading them
Download and copy this repository to /site/plugins/k3-svgo-upload
.
git submodule add https://github.com/rasteiner/k3-svgo-upload.git site/plugins/k3-svgo-upload
composer require rasteiner/k3-svgo-upload
Add svgo: true
to the files fields / sections where you want to optimize the SVG images:
fields:
images:
type: files
svgo: true
MIT