aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-bootstrap-upload
diff options
context:
space:
mode:
Diffstat (limited to 'kvision-modules/kvision-bootstrap-upload')
-rw-r--r--kvision-modules/kvision-bootstrap-upload/webpack.config.d/jquery.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/kvision-modules/kvision-bootstrap-upload/webpack.config.d/jquery.js b/kvision-modules/kvision-bootstrap-upload/webpack.config.d/jquery.js
new file mode 100644
index 00000000..bf5a1a20
--- /dev/null
+++ b/kvision-modules/kvision-bootstrap-upload/webpack.config.d/jquery.js
@@ -0,0 +1,5 @@
+config.plugins.push(new webpack.ProvidePlugin({
+ $: "jquery",
+ jQuery: "jquery",
+ "window.jQuery": "jquery"
+}));