azure-devops-message-format-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

azure-devops-message-format-webpack-plugin

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

Installation

$ npm install --save-dev azure-devops-message-format-webpack-plugin

Usage

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());

Readme

Keywords

none

Package Sidebar

Install

npm i azure-devops-message-format-webpack-plugin

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

7.29 kB

Total Files

5

Last publish

Collaborators

  • medicomp