Encodes an SVG file, optimizes it, and saves it to a destination directory.
The path to the SVG file.
The path to the destination file.
Optional Svgo plugin configurations.
A promise that resolves with the metadata of the optimized image.
Encodes an SVG file, optimizes it, and saves it to a destination directory.