diff --git a/types/webpack/index.d.ts b/types/webpack/index.d.ts index ee9ebd8be2..81085d39d8 100644 --- a/types/webpack/index.d.ts +++ b/types/webpack/index.d.ts @@ -826,6 +826,10 @@ declare namespace webpack { constructor(options?: (percentage: number, msg: string) => void); } + class EnvironmentPlugin extends Plugin { + constructor(envs: string[] | {[key: string]: any}); + } + class ProvidePlugin extends Plugin { constructor(definitions: {[key: string]: any}); }