We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3040fe commit 2bbd365Copy full SHA for 2bbd365
1 file changed
lib/webpack.js
@@ -53,7 +53,8 @@ webpack.WebpackOptionsApply = WebpackOptionsApply;
53
webpack.Compiler = Compiler;
54
webpack.MultiCompiler = MultiCompiler;
55
webpack.NodeEnvironmentPlugin = NodeEnvironmentPlugin;
56
-webpack.validate = validateWebpackOptions;
+webpack.validate = validateWebpackOptions.bind(this, webpackOptionsSchema);
57
+webpack.validateSchema = validateWebpackOptions;
58
59
function exportPlugins(exports, path, plugins) {
60
plugins.forEach(function(name) {
0 commit comments