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) 328 B
import { Plugin } from 'webpack'; import { PluginHandle } from './PluginHandle'; export declare class Define extends PluginHandle { protected readonly definition: {}; add(key: string, value: string | number | boolean): this; addEnv(envKey: string, value: string | number | boolean): this; collect(): Plugin[]; }