diff --git a/package.json b/package.json index e37a066e2fb14b9780daaa5d7a354c0007907456..6c2ca23d23a15365bf06b1dce61897fa3aadf684 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,6 @@ "es5-shim": "^4.6.5", "es6-shim": "^0.35.6", "highlight.js": "^10.7.0", - "jquery": "^3.6.0", "minimum-node-version": "^3.0.0", "purecss": "^2.0.6", "reset-css": "^5.0.1" diff --git a/webpack.config.js b/webpack.config.js index 039613e2d6e353a15a60c615ae6f3f3b1b42880c..12a13b08aea240143a40c014d69b8ea26e8d8635 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -58,24 +58,11 @@ module.exports = environment => { } } ] - }, - { - // expose jquery for use outside webpack bundle - test: require.resolve('jquery'), - loader: "expose-loader", - options: { - exposes: ["$", "jQuery"], - } } ] }, devtool: 'source-map', plugins: [ - // Provides jQuery for other JS bundled with Webpack - new webpack.ProvidePlugin({ - $: 'jquery', - jQuery: 'jquery' - }), new MiniCssExtractPlugin({ filename: localConfig['css_filename'], ignoreOrder: true