SVGOptions

external interface SVGOptions

Options for runSVGO.

Properties

Link copied to clipboard
abstract var cleanupIDs: dynamic

Clean up IDs: a prefix string, a function that maps old IDs to new ones, or false to disable.

Link copied to clipboard
abstract var keepShapes: Boolean?

Keep shapes: skip plugins that modify shapes.

Link copied to clipboard
abstract var multipass: Boolean?

Parse the SVG multiple times for better optimisation.

Link copied to clipboard
abstract var plugins: Array<dynamic>?

SVGO plugin list.