OptionalmultipassOptionalpathPath hint used in SVGO error messages.
OptionalpluginsFull SVGO plugin configuration — replaces the default
preset entirely (maximum control; preserveIds/preserve
are ignored). Strings name built-in plugins; objects carry
params.
OptionalpreserveSpecific IDs cleanupIds must keep (and not minify), while
other IDs are still optimised. Ignored when preserveIds
is true.
OptionalpreserveKeep every element ID exactly as written. Default false: SVGO's preset removes unused IDs and minifies referenced ones — right for standalone files, wrong when CSS/JS or a URL fragment references the IDs. Set true to disable cleanupIds entirely.
OptionalprettyPretty-print the output (2-space indent). Default false.
Run SVGO until the output stops changing. Default true (SVGO's own CLI default is a single pass; repeated passes are where the last few percent come from).