Interface OptimizeOptions

Hierarchy

  • OptimizeOptions

Properties

datauri?: "base64" | "enc" | "unenc"

Output as Data URI string.

floatPrecision?: number

Precision of floating point numbers. Will be passed to each plugin that suppors this param.

full?: boolean

Use full set of plugins.

js2svg?: Js2SvgOptions

Options for rendering optimized SVG from AST.

multipass?: boolean

Pass over SVGs multiple times to ensure all optimizations are applied

path?: string
plugins?: Plugin[]

Individual plugin configurations. For specific options, see plugin source in https://github.com/svg/svgo/tree/master/plugins.

svg2js?: Svg2JsOptions

Options for parsing original SVG into AST.

Generated using TypeDoc