UNPKG

svgo

Version:

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

26 lines (25 loc) 572 B
export const name: "moveElemsAttrsToGroup"; export const description: "Move common attributes of group children to the group"; /** * Move common attributes of group children to the group * * @example * <g attr1="val1"> * <g attr2="val2"> * text * </g> * <circle attr2="val2" attr3="val3"/> * </g> * ⬇ * <g attr1="val1" attr2="val2"> * <g> * text * </g> * <circle attr3="val3"/> * </g> * * @author Kir Belevich * * @type {import('../lib/types.js').Plugin} */ export const fn: import("../lib/types.js").Plugin;