DefinitelyTyped/types/svg-sprite-loader/plugin.d.ts
2018-06-01 20:24:44 +01:00

17 lines
418 B
TypeScript

import { Plugin } from 'webpack';
export = SVGSpriteLoaderPlugin;
declare class SVGSpriteLoaderPlugin extends Plugin {
constructor(options?: SVGSpriteLoaderPlugin.Options);
}
declare namespace SVGSpriteLoaderPlugin {
interface Options {
/** Render plain sprite without styles and usages */
plainSprite?: boolean;
/** Custom tag attributes for the svg */
spriteAttrs?: {[key: string]: any};
}
}