From bd3b1ba409b77f2e88fa2a75cb8c899f2913eddf Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Mon, 13 Jun 2022 18:10:24 -0700 Subject: [PATCH] Remove jquery dependency --- package.json | 1 - webpack.config.js | 8 +------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/package.json b/package.json index d57ec2d6..b6204f2f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,6 @@ { "description": "Dependencies to build nbgitpuller/static/dist/bundle.js from nbgitpuller/static/js/index.js with webpack.", "devDependencies": { - "jquery": "^3.6.0", "webpack": "^5.45.1", "webpack-cli": "^4.7.2", "xterm": "^4.13.0", diff --git a/webpack.config.js b/webpack.config.js index 0b769d5f..f636d324 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -16,11 +16,5 @@ module.exports = { }, ] }, - devtool: 'source-map', - plugins: [ - new webpack.ProvidePlugin({ - $: 'jquery', - jQuery: 'jquery', - }), - ] + devtool: 'source-map' }