All Projects → Dealogic → webpack-vsts-extension

Dealogic / webpack-vsts-extension

Licence: other
Webpack build task for Visual Studio Team Services

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to webpack-vsts-extension

FlowViz
A Power BI template that provides easy to understand, actionable flow metrics and predictive analytics for your agile teams using Azure DevOps, Azure DevOps Server and/or TFS.
Stars: ✭ 150 (+837.5%)
Mutual labels:  vsts, azure-devops, azure-devops-extension
azure-boards-estimate
Estimate - Planning Poker for Azure Boards
Stars: ✭ 62 (+287.5%)
Mutual labels:  vsts, azure-devops, azure-devops-extension
rust-azure-devops
[No longer maintain] 🦀 Rust extension for Azure DevOps
Stars: ✭ 26 (+62.5%)
Mutual labels:  vsts, azure-devops, azure-devops-extension
azure-pipelines-lighthouse
Embed Google Lighthouse HTML reports into Azure Pipelines
Stars: ✭ 37 (+131.25%)
Mutual labels:  azure-devops, azure-devops-extension
azure-devops-exporter
Prometheus exporter for Azure DevOps (VSTS) including agent pools, builds, releases, deployments, pullrequests and repo stats
Stars: ✭ 102 (+537.5%)
Mutual labels:  vsts, azure-devops
azure-flutter-tasks
Easily build and deploy with latest Flutter build tasks for Azure DevOps Pipelines Tasks
Stars: ✭ 66 (+312.5%)
Mutual labels:  vsts, azure-devops
boots
boots is a .NET global tool for "bootstrapping" vsix & pkg files. Just "boots https://url/to/your/package"!
Stars: ✭ 78 (+387.5%)
Mutual labels:  continuous-integration, azure-devops
development-hub
A continuous integration solution for Power Apps.
Stars: ✭ 21 (+31.25%)
Mutual labels:  continuous-integration, azure-devops
azure-pipelines-tfvc-tasks
Azure Pipelines tasks for Team Foundation Version Control
Stars: ✭ 26 (+62.5%)
Mutual labels:  azure-devops, azure-devops-extension
Task-Card-Creator
Small tool for printing task cards used for a Scrum board. Your physical Scrum board will look fantastic. Supports Team Foundation Server and Azure DevOps.
Stars: ✭ 25 (+56.25%)
Mutual labels:  vsts, azure-devops
TfsCmdlets
PowerShell Cmdlets for Azure DevOps and Team Foundation Server
Stars: ✭ 75 (+368.75%)
Mutual labels:  vsts, azure-devops
CSEDevOps
Azure DevOps extensions from CSE DevOps team
Stars: ✭ 18 (+12.5%)
Mutual labels:  azure-devops, azure-devops-extension
cake-build
Demonstrates a basic build of a .NET NuGet package using https://cakebuild.net/
Stars: ✭ 22 (+37.5%)
Mutual labels:  continuous-integration, azure-devops
doing-cli
CLI tool to simplify the development workflow on azure devops
Stars: ✭ 19 (+18.75%)
Mutual labels:  azure-devops
Dotnet-Core-Attendance-System
Attendance Web Application using .NET Core (CQRS pattern) & Vue.js
Stars: ✭ 33 (+106.25%)
Mutual labels:  continuous-integration
telegram-notification
Azure DevOps Extension to send custom notifications to Telegram
Stars: ✭ 17 (+6.25%)
Mutual labels:  azure-devops-extension
demo-ci
Aula prática sobre servidores de Integração Contínua
Stars: ✭ 15 (-6.25%)
Mutual labels:  continuous-integration
makefile-for-monorepos
A flexible and extensible makefile for monorepos with docker/docker-compose.
Stars: ✭ 115 (+618.75%)
Mutual labels:  continuous-integration
bx-docker
Tutorial on how to build Docker Images for the IAR Build Tools on Linux hosts. The IAR Build Tools on Linux are available for Arm, RISC-V and Renesas (RH850, RL78 and RX).
Stars: ✭ 28 (+75%)
Mutual labels:  continuous-integration
capsulecd
Continuous Delivery for automating package releases (npm, cookbooks, gems, pip, jars, etc)
Stars: ✭ 96 (+500%)
Mutual labels:  continuous-integration

webpack build task

A build task for Visual Studio Team Services (VSTS) made with by

dealogic logo

to bundle your assets, scripts, images and styles with webpack.

build status

Content

Installation

Installation can be done using Visual Studio MarketPlace.

Source Code

Source code can be found on GitHub.

What The Build Step Does

This build step is using the webpack's command line tool to compile a 'web' application into a bundle. The result, warnings and errors are reported onto the build summary section.

Usage

Add the task to your build configuration:

Add webpack task

By default without any configuration the build task is trying to run the locally installed webpack.js from the root folder in the repository and trying to pick up the webpack.config.js.

Through the webpack cli arguments setting custom arguments can be passed to the webpack cli:

-p --display normal

Errors and Warnings can be treated differently:

  • treat errors as (errors / warnings / info)
  • treat warnings as (errors / warnings / info)

Warnings means the task will partially succeed, in case of errors the task will fail. If there are no errors and no warnings, then the task will succeed. You can treat the errors as warnings, so in case of errors, the task will just partially succeed. Or if you would like to ignore the warnings, those should be handled as info.

webpack arguments

The webpack build errors and warnings are reported under the issues / build section on the summary page:

webpack build issues

The webpack build result section is added onto the summary page to summarize the result:

webpack build result

Advanced Settings

  • Working folder where webpack command is run. If you leave it blank it is the root of the repo.
  • Location of the webpack cli. By default it is the locally installed webpack node module in the working folder, e.g. ./node_modules/webpack/bin/webpack.js.
  • Location of the Stats.js. By default it is the locally installed webpack node module in the working folder, e.g. ./node_modules/webpack/lib/Stats.js.

Advanced settings

Multiple Build Steps

Multiple webpack build steps are supported now. To distinguish the webpack build steps on the summary page and in the list of issues, set the display name properly for the steps:

Multiple setps with different name

If the webpack projects are not even in the root folder, then don't forget to modify it in the advanced settings like this:

Different working folder

The issues in case of multiple build steps:

Issues section for multiple steps

The result sections in case of multiple build steps:

Result sections for multiple steps

Summary of Task Settings

Name Required Default Value Description
webpack cli arguments false Arguments to pass to the webpack cli.
treat errors as true errors How to treat errors. Options are: errors (breaks build) / warnings (marks build as partially succeeded) / info (reports errors as info).
treat warnings as true warnings How to treat warnings. Options are: errors (breaks build) / warnings (marks build partially succeeded) / info (reports warnings as info).
node cli arguments false Arguments to pass to the node cli.
workingFolder false Working folder where webpack compilation is run. If you leave it blank it is the root of the repository.
webpack cli location true ./node_modules/webpack/bin/webpack.js Location of the webpack cli. By default it's the locally installed webpack cli.
stats.js Location true ./node_modules/webpack/lib/Stats.js Location of the Stats.js. By default it's the Stats.js from the locally installed webpack.

Release Notes

  • 4.2.0 (13/08/2019)

    • Node.js arguments are supported.
  • 4.1.6 (21/06/2019)

    • Security warnings are fixed
  • 4.1.5 (18/06/2019)

    • New build/deployment badge on README page. (as build and deployment are on travis-ci.org)
  • 4.0.4 (24/05/2018)

    • Dependencies are updated to fix security vulnerabilities (though it was just in one of the samples).
  • 4.0.3 (29/03/2018)

    • The --display "none" flag is working properly with webpack 4.
  • 4.0.2 (27/01/2018)

    • Documentation is updated.
  • 4.0.1 (27/01/2018)

    • Errors and Warnings are reported correctly in the webpack like logs based on the --display none/errors-only/minimal/normal/detailed/verbose option.
  • 4.0.0 (27/01/2018)

    • Using webpack-cli again instead of node.js API.
  • 3.2.2 (03/10/2017)

    • Avoid webpack task summary section overflow with adding scrollbar.
    • Webpack task summary section uses same font as other sections.
  • 3.2.1 (22/09/2017)

    • Replacing [] brackets to () parenthesis in the title of the result summary section.
  • 3.2.0 (22/09/2017)

    • Support [] brackets in the display name of the task.
  • 3.1.0 (21/09/2017)

    • Support for TypeScript webpack configuration is added.
    • The ts-node module location can be modified.
    • The ts-node module options file location can be supplied.
  • 3.0.19 (03/07/2017)

    • As the build step is using webpack's node.js API the arguments setting is gone. Instead of that there's the webpack config file location where custom configuration files can be specified for the compilation.
    • The setting of webpack.js location is gone, instead of that use webpack module location if you don't want to use the locally installed webpack module.
    • The webpack build step summary section is using webpack node.js API to show the result information.
    • The webpack build step now is logging the summary section onto the log section as well.
  • 2.1.3 (22/05/2017)

  • 2.1.2 (22/05/2017)

  • 2.1.0 (22/05/2017)

  • 2.0.2 (16/05/2017)

  • 1.1.1 (29/03/2017)

  • 1.1.0 (21/01/2017)

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].