aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.d
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.config.d')
-rw-r--r--webpack.config.d/css.js2
-rw-r--r--webpack.config.d/jquery.js4
2 files changed, 5 insertions, 1 deletions
diff --git a/webpack.config.d/css.js b/webpack.config.d/css.js
index 2b43a825..5d710d35 100644
--- a/webpack.config.d/css.js
+++ b/webpack.config.d/css.js
@@ -1,2 +1,2 @@
-config.module.rules.push({ test: /\.css$/, loader: "style!css" });
+config.module.rules.push({ test: /\.css$/, loader: "style-loader!css-loader" });
diff --git a/webpack.config.d/jquery.js b/webpack.config.d/jquery.js
new file mode 100644
index 00000000..40522595
--- /dev/null
+++ b/webpack.config.d/jquery.js
@@ -0,0 +1,4 @@
+config.plugins.push(new webpack.ProvidePlugin({
+ $: "jquery",
+ jQuery: "jquery"
+}));