UNPKG

svg-spritemap-webpack-plugin

Version:

Generates symbol-based SVG spritemap from all .svg files in a directory

7 lines (6 loc) 514 B
import webpack from 'webpack'; import xmldom from '@xmldom/xmldom'; import { OptionsWithStyles } from '../../types.js'; export declare const formatSelector: (name: string, location: string, options: OptionsWithStyles) => string; export declare const formatURL: (name: string, location: string, svg: xmldom.Element, options: OptionsWithStyles, compilation: webpack.Compilation, rewrite?: boolean) => string; export declare const getSymbolSVG: (symbol: xmldom.Element, options: OptionsWithStyles) => xmldom.Element;