aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-spinner/webpack.config.d/jquery.js
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-10-08 21:56:05 +0200
committerRobert Jaros <rjaros@finn.pl>2018-10-08 21:56:05 +0200
commiteddd58f3f31954809645bdf2222833424c3f9a73 (patch)
tree7fa78211eda8ce93b51738ba2c0774b7f05ca4c9 /kvision-modules/kvision-spinner/webpack.config.d/jquery.js
parent0d3e7c87bf74948f83ce006a1d340b0f3f5e68b0 (diff)
downloadkvision-eddd58f3f31954809645bdf2222833424c3f9a73.tar.gz
kvision-eddd58f3f31954809645bdf2222833424c3f9a73.tar.bz2
kvision-eddd58f3f31954809645bdf2222833424c3f9a73.zip
Testing modules.
Diffstat (limited to 'kvision-modules/kvision-spinner/webpack.config.d/jquery.js')
-rw-r--r--kvision-modules/kvision-spinner/webpack.config.d/jquery.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/kvision-modules/kvision-spinner/webpack.config.d/jquery.js b/kvision-modules/kvision-spinner/webpack.config.d/jquery.js
new file mode 100644
index 00000000..bf5a1a20
--- /dev/null
+++ b/kvision-modules/kvision-spinner/webpack.config.d/jquery.js
@@ -0,0 +1,5 @@
+config.plugins.push(new webpack.ProvidePlugin({
+ $: "jquery",
+ jQuery: "jquery",
+ "window.jQuery": "jquery"
+}));