Package-level declarations
Types
Link copied to clipboard
Describes a single SVGO plugin and its parameters.
Link copied to clipboard
data class SvgoPluginConfig(val js2svg: SvgoPluginConfig.Js2SvgConfig = Js2SvgConfig(), val plugins: List<SvgoPlugin>)
Platform-agnostic description of an SVGO configuration.
Properties
Functions
Link copied to clipboard
Renders this SvgoPluginConfig as a browser-compatible dynamic JS object for the svgo/browser API.
Link copied to clipboard
Renders this SvgoPluginConfig as an ESM module string suitable for the svgo CLI's --config flag.