Skip to content

Commit ee30c84

Browse files
committed
fixes ProvidePlugin fallback
1 parent 44db533 commit ee30c84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/WebpackOptionsApply.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ WebpackOptionsApply.prototype.process = function(options, compiler) {
240240
if(typeof options.provide === "object") {
241241
compiler.apply(new MovedToPluginWarningPlugin("provide", "ProvidePlugin"));
242242
var ProvidePlugin = require("./ProvidePlugin");
243-
compiler.apply(new ProvidePlugin(name, options.provide));
243+
compiler.apply(new ProvidePlugin(options.provide));
244244
}
245245

246246
if(options.define) {

0 commit comments

Comments
 (0)