aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-richtext/webpack.config.d/jquery.js
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-10-06 20:38:07 +0200
committerRobert Jaros <rjaros@finn.pl>2019-10-06 20:38:07 +0200
commit6b14906f0e35dc522bd1c1a44682d728315cf619 (patch)
tree4f96d1c3bb8281289b96e2b11eecc404a3c98788 /kvision-modules/kvision-richtext/webpack.config.d/jquery.js
parent6ddb5374d4f1f629c98392e104460351065eaa7c (diff)
downloadkvision-6b14906f0e35dc522bd1c1a44682d728315cf619.tar.gz
kvision-6b14906f0e35dc522bd1c1a44682d728315cf619.tar.bz2
kvision-6b14906f0e35dc522bd1c1a44682d728315cf619.zip
Update all tests.
Diffstat (limited to 'kvision-modules/kvision-richtext/webpack.config.d/jquery.js')
-rw-r--r--kvision-modules/kvision-richtext/webpack.config.d/jquery.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/kvision-modules/kvision-richtext/webpack.config.d/jquery.js b/kvision-modules/kvision-richtext/webpack.config.d/jquery.js
new file mode 100644
index 00000000..bf5a1a20
--- /dev/null
+++ b/kvision-modules/kvision-richtext/webpack.config.d/jquery.js
@@ -0,0 +1,5 @@
+config.plugins.push(new webpack.ProvidePlugin({
+ $: "jquery",
+ jQuery: "jquery",
+ "window.jQuery": "jquery"
+}));