From 95a03e79c3020eda839673ea8af8e697f5a1683f Mon Sep 17 00:00:00 2001 From: Mohsen Azimi Date: Sun, 26 Mar 2017 18:40:10 -0700 Subject: [PATCH] add EnvironmentPlugin to webpack --- types/webpack/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) 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}); }