The SVG file to optimize
svgoOptions
is an object that contains settings for optimizing
the SVG using SVGO (SVG Optimizer). These settings can include things like removing
comments, removing empty groups, and optimizing path data. The specific settings and
their values will depend on the desired optimization settings.
The function optimizes an SVG file asynchronously using SVGO and writes the optimized SVG to a specified output file.