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 ```

9 lines (8 loc) 252 B
import { PluginHandle } from './PluginHandle'; import { Plugin } from 'webpack'; export declare class Preload extends PluginHandle { protected rel: 'preload' | 'prefetch'; usePreload(): this; usePrefetch(): this; collect(): Plugin[]; }