1 | import { Compiler, WebpackPluginInstance } from 'webpack';
|
2 | import * as Rsg from '../../typings';
|
3 | export 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 | }
|