aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-richtext
diff options
context:
space:
mode:
Diffstat (limited to 'kvision-modules/kvision-richtext')
-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"
+}));