UNPKG

vite-plugin-svg-spritemap

Version:
13 lines (12 loc) 443 B
import type { Plugin } from 'vite'; import type { Config as SVGOConfig } from 'svgo'; export interface SvgSpritemapOptions { pattern: string; prefix?: string; filename?: string; svgo?: SVGOConfig | boolean; currentColor?: boolean; emit?: boolean; } declare function svgSpritemap({ pattern, prefix, filename, svgo, currentColor, emit, }: SvgSpritemapOptions): Plugin[]; export { svgSpritemap, svgSpritemap as default };