diff --git a/build/node-extension.webpack.config.js b/build/node-extension.webpack.config.js index d1779f0..764552b 100644 --- a/build/node-extension.webpack.config.js +++ b/build/node-extension.webpack.config.js @@ -7,6 +7,9 @@ const ForkTsCheckerPlugin = require('fork-ts-checker-webpack-plugin') /**@type {import('webpack').Configuration}*/ const config = { + infrastructureLogging: { + level: 'log', + }, target: 'node', // vscode extensions run in a Node.js-context 📖 -> https://webpack.js.org/configuration/node/ mode: 'none', // this leaves the source code as close as possible to the original (when packaging we set this to 'production') diff --git a/package.json b/package.json index 3925d91..5e3329f 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "scripts": { "vscode:prepublish": "yarn run package", "compile": "webpack --config ./build/node-extension.webpack.config.js", - "watch": "webpack --watch --info-verbosity verbose --config ./build/node-extension.webpack.config.js", + "watch": "webpack --mode development --watch --config ./build/node-extension.webpack.config.js", "package": "webpack --mode production --devtool hidden-source-map --config ./build/node-extension.webpack.config.js", "test-compile": "tsc -p ./", "test-watch": "tsc -watch -p ./", @@ -73,7 +73,7 @@ "ts-loader": "^8.0.14", "typescript": "^4.1.3", "vscode-test": "^1.5.0", - "webpack": "^5.20.1", + "webpack": "^5.21.1", "webpack-cli": "^4.5.0" } }