Webpack plugin that formats build messages using Azure DevOps pipelines logging commands so that warnings are tagged appropriately in build logs. So this:
Libraries/quippe-client/libs/qwc/utilities/skin-manager.js:141:26-33 - Warning: Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
...becomes this:
##vso[task.logissue type=warning;sourcepath=R:\Libraries\quippe-client\libs\qwc\utilities\skin-manager.js;linenumber=141;columnnumber=26]Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
$ npm install --save-dev azure-devops-message-format-webpack-plugin
Simply import the plugin and add it to the plugins collection in your webpack.config.js:
const AzureDevOpsMessageFormatWebpackPlugin = require('azure-devops-message-format-webpack-plugin');
// ...
config.plugins.push(new AzureDevOpsMessageFormatWebpackPlugin());