From 6516d35833dcdf88f0fe60c9097c273e67b9c7c4 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 30 Mar 2022 11:09:40 +0200 Subject: [PATCH 1/3] Fix webpack for newer nodejs versions --- package.json | 4 ++-- webpack.config.js | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 55cb2b4..0b08670 100644 --- a/package.json +++ b/package.json @@ -61,8 +61,8 @@ "tslint": "^5.12.1", "typescript": "^3.3.1", "vsce": "^1.20.0", - "webpack": "^4.43.0", - "webpack-cli": "^3.3.11" + "webpack": "^5.70.0", + "webpack-cli": "^4.9.2" }, "breakpoints": [ { diff --git a/webpack.config.js b/webpack.config.js index 0e0f81e..73b81f4 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -14,7 +14,8 @@ const config = { path: path.resolve(__dirname, 'dist'), filename: 'extension.bundled.js', libraryTarget: 'commonjs2', - devtoolModuleFilenameTemplate: '../[resource-path]' + devtoolModuleFilenameTemplate: '../[resource-path]', + hashFunction: 'xxhash64' }, devtool: 'source-map', externals: { From 7cb099789fdd6ce320f32a0040b7230f3c21eef9 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 30 Mar 2022 20:04:33 +0200 Subject: [PATCH 2/3] Remove obsolete workaround --- webpack.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 73b81f4..0e0f81e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -14,8 +14,7 @@ const config = { path: path.resolve(__dirname, 'dist'), filename: 'extension.bundled.js', libraryTarget: 'commonjs2', - devtoolModuleFilenameTemplate: '../[resource-path]', - hashFunction: 'xxhash64' + devtoolModuleFilenameTemplate: '../[resource-path]' }, devtool: 'source-map', externals: { From e23dcd338b857ab1475e6bd9f78852e8eda64421 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 2 Apr 2022 13:15:50 +0200 Subject: [PATCH 3/3] Remove the `make`-dependency --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 0b08670..e976497 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,6 @@ "@types/node": "^16.4.1", "@types/vscode": "^1.62.0", "glob": "^7.1.4", - "make": "^0.8.1", "mocha": "^6.1.4", "ts-loader": "^7.0.5", "tslint": "^5.12.1",