Skip to content

Commit

Permalink
[feature] strict Promise configuration validation
Browse files Browse the repository at this point in the history
- updates configuration schema to use `"instanceof": "Promise"` (webpack#258)

depends on (webpack/webpack#6430)
  • Loading branch information
Joe Bottigliero committed Mar 1, 2018
1 parent 191b458 commit bff1bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schemas/webpackConfigurationSchema.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}
},
{
"instanceof": "Function",
"instanceof": "Promise",
"description": "A promise that resolves with a configuration object, or an array of configuration objects."
}
]
Expand Down

0 comments on commit bff1bd9

Please sign in to comment.