UNPKG

svgo

Version:

SVGO is a Node.js library and command-line application for optimizing vector images.

16 lines (15 loc) 549 B
export const name: "cleanupEnableBackground"; export const description: "remove or cleanup enable-background attribute when possible"; /** * Remove or cleanup enable-background attr which coincides with a width/height * box. * * @see https://www.w3.org/TR/SVG11/filters.html#EnableBackgroundProperty * @example * <svg width="100" height="50" enable-background="new 0 0 100 50"> * ⬇ * <svg width="100" height="50"> * @author Kir Belevich * @type {import('../lib/types.js').Plugin} */ export const fn: import("../lib/types.js").Plugin;