@dusrel/image-svg
SVG optimisation via SVGO's browser build (v4): preset-default plugins, multipass on by default, ID preservation options, and a full plugin passthrough for maximum control. Synchronous — SVGO itself is synchronous.
Optimises an SVG string with SVGO's browser build. Throws on malformed input (SVGO's parse error) and on empty input.
@dusrel/image-svg
SVG optimisation via SVGO's browser build (v4): preset-default plugins, multipass on by default, ID preservation options, and a full plugin passthrough for maximum control. Synchronous — SVGO itself is synchronous.