mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-11 03:27:47 +08:00
add EnvironmentPlugin to webpack
This commit is contained in:
4
types/webpack/index.d.ts
vendored
4
types/webpack/index.d.ts
vendored
@@ -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});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user