Back to Svgo

removeUnknownsAndDefaults

docs/04-plugins/removeUnknownsAndDefaults.mdx

4.0.1266 B
Original Source

Removes unknown elements and attributes, as well as attributes that are set to their default value.

This can also remove defaults from the XML declaration if present in the document, namely standalone if it's set to no.