summaryrefslogtreecommitdiff
path: root/examples/helloworld/webpack.config.d/jquery.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/helloworld/webpack.config.d/jquery.js')
-rw-r--r--examples/helloworld/webpack.config.d/jquery.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/helloworld/webpack.config.d/jquery.js b/examples/helloworld/webpack.config.d/jquery.js
new file mode 100644
index 00000000..40522595
--- /dev/null
+++ b/examples/helloworld/webpack.config.d/jquery.js
@@ -0,0 +1,4 @@
+config.plugins.push(new webpack.ProvidePlugin({
+ $: "jquery",
+ jQuery: "jquery"
+}));