UNPKG

467 BTypeScriptView Raw
1import { Plugin } from "webpack";
2
3export = SVGSpriteLoaderPlugin;
4
5declare class SVGSpriteLoaderPlugin extends Plugin {
6 constructor(options?: SVGSpriteLoaderPlugin.Options);
7}
8
9declare namespace SVGSpriteLoaderPlugin {
10 interface Options {
11 /** Render plain sprite without styles and usages */
12 plainSprite?: boolean | undefined;
13 /** Custom tag attributes for the svg */
14 spriteAttrs?: { [key: string]: any } | undefined;
15 }
16}