UNPKG

webpack-genius

Version:

**For chinese developers:** you'd better add taobao mirror before everything start. Or you may fail to install. ```bash yarn config set registry http://registry.npm.taobao.org ```

13 lines (12 loc) 455 B
import { Plugin } from 'webpack'; import { PluginHandle } from './PluginHandle'; import HtmlWebpackPlugin from 'html-webpack-plugin'; export declare class Html extends PluginHandle { protected readonly clones: Html[]; protected config: HtmlWebpackPlugin.Options; setTemplate(relativePath: string): this; setTitle(title: string): this; mergeConfig(config: HtmlWebpackPlugin.Options): this; clone(): Html; collect(): Plugin[]; }