From 63a29202281ba7aea0c93c3692936023fcada4c8 Mon Sep 17 00:00:00 2001 From: Hippolyte Alain Date: Tue, 13 Jun 2017 14:30:54 +0200 Subject: [PATCH 1/2] Add window.jquery to autoProvidejQuery() --- lib/WebpackConfig.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/WebpackConfig.js b/lib/WebpackConfig.js index 321dba6d..3123848e 100644 --- a/lib/WebpackConfig.js +++ b/lib/WebpackConfig.js @@ -233,7 +233,8 @@ class WebpackConfig { autoProvidejQuery() { this.autoProvideVariables({ $: 'jquery', - jQuery: 'jquery' + jQuery: 'jquery', + "window.jQuery": "jquery" }); } From 39fe1d37be8e96063e1ca9c7f8eb48f9b2f4895c Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Tue, 13 Jun 2017 08:58:36 -0400 Subject: [PATCH 2/2] cs --- lib/WebpackConfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebpackConfig.js b/lib/WebpackConfig.js index 3123848e..8cafc62b 100644 --- a/lib/WebpackConfig.js +++ b/lib/WebpackConfig.js @@ -234,7 +234,7 @@ class WebpackConfig { this.autoProvideVariables({ $: 'jquery', jQuery: 'jquery', - "window.jQuery": "jquery" + 'window.jQuery': 'jquery' }); }