Skip to content

Commit

Permalink
pass { module } instead of module
Browse files Browse the repository at this point in the history
Co-Authored-By: FranckFreiburger <FranckFreiburger@users.noreply.github.com>
  • Loading branch information
sokra and FranckFreiburger committed Oct 31, 2018
1 parent a093cfa commit 7dc8e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DefinePlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class RuntimeValue {
}
}

return this.fn(parser.state.module);
return this.fn({ module: parser.state.module });
}
}

Expand Down

0 comments on commit 7dc8e51

Please sign in to comment.