Skip to content

Commit

Permalink
build: enable webpack infrastructureLogging
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Oct 19, 2021
1 parent af214d7 commit 7ce9c3f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/

// @ts-check
/** @typedef {import('webpack').Configuration} WebpackConfig * */

Expand Down Expand Up @@ -43,6 +38,9 @@ const extensionConfig = {
],
},
devtool: 'nosources-source-map',
infrastructureLogging: {
level: 'log', // enables logging required for problem matchers
},
};

/** @type WebpackConfig */
Expand Down Expand Up @@ -93,6 +91,9 @@ const webExtensionConfig = {
hints: false,
},
devtool: 'nosources-source-map', // create a source map that points to the original source file
infrastructureLogging: {
level: 'log', // enables logging required for problem matchers
},
};

module.exports = [extensionConfig, webExtensionConfig];

0 comments on commit 7ce9c3f

Please sign in to comment.