From 7dc8e519f90e88b06c2acd6b1d6078d262ef9580 Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Wed, 31 Oct 2018 09:21:03 +0100 Subject: [PATCH] pass { module } instead of module Co-Authored-By: FranckFreiburger --- lib/DefinePlugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DefinePlugin.js b/lib/DefinePlugin.js index d0865b2de..b0ea1d3a7 100644 --- a/lib/DefinePlugin.js +++ b/lib/DefinePlugin.js @@ -29,7 +29,7 @@ class RuntimeValue { } } - return this.fn(parser.state.module); + return this.fn({ module: parser.state.module }); } }