Skip to content

Commit

Permalink
[webpack-cli] Compilation finished, infrastructureLogging: { level: '…
Browse files Browse the repository at this point in the history
  • Loading branch information
FuPeiJiang committed Feb 8, 2021
1 parent c90e0e1 commit a4ed179
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions build/node-extension.webpack.config.js
Expand Up @@ -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')

Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -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 ./",
Expand All @@ -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"
}
}

0 comments on commit a4ed179

Please sign in to comment.