add EnvironmentPlugin to webpack

This commit is contained in:
Mohsen Azimi
2017-03-26 18:40:10 -07:00
committed by GitHub
parent bb7d6b2d08
commit 95a03e79c3

View File

@@ -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});
}