UNPKG

svgo

Version:

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

28 lines (27 loc) 828 B
export type CleanupIdsParams = { remove?: boolean | undefined; minify?: boolean | undefined; preserve?: string[] | undefined; preservePrefixes?: string[] | undefined; force?: boolean | undefined; }; /** * @typedef CleanupIdsParams * @property {boolean=} remove * @property {boolean=} minify * @property {string[]=} preserve * @property {string[]=} preservePrefixes * @property {boolean=} force */ export declare const name = "cleanupIds"; export declare const description = "removes unused IDs and minifies used"; /** * Remove unused and minify used IDs (only if there are no `<style>` or * `<script>` nodes). * * @author Kir Belevich * * @type {import('../lib/types.js').Plugin<CleanupIdsParams>} * @since 0.1.9 */ export declare const fn: import('../lib/types.js').Plugin<CleanupIdsParams>;