svg-spritemap-webpack-plugin
Version:
Generates symbol-based SVG spritemap from all .svg files in a directory
5 lines (4 loc) • 379 B
TypeScript
import webpack from 'webpack';
import { OptionsWithStyles, StylesType } from '../types.js';
export declare const generateStyles: (spritemap: string | undefined, options: OptionsWithStyles, warnings: webpack.WebpackError[], compilation: webpack.Compilation) => string | undefined;
export declare const getStylesType: (content: string, filename: string) => StylesType | undefined;