Browse Source

Remove jquery

Peter Justin 3 years ago
parent
commit
f0c3ca8df6
1 changed files with 0 additions and 13 deletions
  1. 0 13
      flaskbb/themes/aurora/webpack.common.js

+ 0 - 13
flaskbb/themes/aurora/webpack.common.js

@@ -23,11 +23,6 @@ module.exports = {
             filename: "[name].css",
             chunkFilename: "[name].css",
         }),
-        new webpack.ProvidePlugin({
-            $: "jquery",
-            jQuery: "jquery",
-            'window.jQuery': 'jquery',
-        }),
     ],
     optimization: {
         splitChunks: {
@@ -61,14 +56,6 @@ module.exports = {
     },
     module: {
         rules: [
-              {
-                test: require.resolve("jquery"),
-                loader: "expose-loader",
-                options: {
-                  exposes: ["$", "jQuery"],
-                },
-              },
-
             {
                 test: /\.(j|t)sx?$/,
                 exclude: /node_modules/,