UNPKG

447 BTypeScriptView Raw
1import { Compiler, WebpackPluginInstance } from 'webpack';
2import * as Rsg from '../../typings';
3export default class StyleguidistOptionsPlugin implements WebpackPluginInstance {
4 private options;
5 constructor(options: Rsg.SanitizedStyleguidistConfig);
6 private pluginFunc;
7 /**
8 *
9 * @param compil webpack 4 `compilation.Compilation`, webpack 5 `Compilation`
10 */
11 private plugin;
12 apply(compiler: Compiler): void;
13}