Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/shared.webpack.config.js')
-rw-r--r--extensions/shared.webpack.config.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/shared.webpack.config.js b/extensions/shared.webpack.config.js
index 3ebb9c62b52..a33fa89ce30 100644
--- a/extensions/shared.webpack.config.js
+++ b/extensions/shared.webpack.config.js
@@ -17,7 +17,7 @@ const { DefinePlugin } = require('webpack');
function withNodeDefaults(/**@type WebpackConfig*/extConfig) {
/** @type WebpackConfig */
- let defaultConfig = {
+ const defaultConfig = {
mode: 'none', // this leaves the source code as close as possible to the original (when packaging we set this to 'production')
target: 'node', // extensions run in a node context
node: {
@@ -93,7 +93,7 @@ function nodePlugins(context) {
function withBrowserDefaults(/**@type WebpackConfig*/extConfig, /** @type AdditionalBrowserConfig */ additionalOptions = {}) {
/** @type WebpackConfig */
- let defaultConfig = {
+ const defaultConfig = {
mode: 'none', // this leaves the source code as close as possible to the original (when packaging we set this to 'production')
target: 'webworker', // extensions run in a webworker context
resolve: {