Add missing properties for webpack

This commit is contained in:
Jungman
2015-12-19 20:35:43 +09:00
parent 40c60850ad
commit 95c02169ba
2 changed files with 31 additions and 1 deletions
+4 -1
View File
@@ -6,7 +6,8 @@
declare module "webpack" {
namespace webpack {
interface Configuration {
entry?: string|Entry;
entry?: string|string[]|Entry;
devtool?: string;
output?: Output;
module?: Module;
plugins?: (Plugin|Function)[];
@@ -28,6 +29,8 @@ declare module "webpack" {
}
interface Loader {
exclude?: string[];
include?: string[];
test: RegExp;
loader?: string;
loaders?: string[];