Skip to content

This plugin provide user-friendly messages or images about build status.

License

Notifications You must be signed in to change notification settings

alexeyvax/status-build-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

status-build-webpack-plugin

This plugin provide user-friendly messages or images about build status.

Installation

npm install --save-dev status-build-webpack-plugin

or

npm install -D status-build-webpack-plugin

or

yarn add -D status-build-webpack-plugin

Usage

const ShowStatusBuild = require('status-build-webpack-plugin');

{
  plugins = [
    new ShowStatusBuild(),
  ];
}

Then you can see:

  • default message when the build is success

default-success

  • default message when the build is failed

default-failed

  • when you set the custom message(image) and build is success

success-with-image

  • when you set the custom message(image) and build is failed

failed-with-image

If you want to see more please see examples

API

- colors

description: colors for output content, you can use colors from collection, please see below:

colors collection:
- black
- red
- green
- yellow
- blue
- cyan
- white

type Object

default:

colors: {
  success: 'green',
  failed" 'red',
}

- success

description: show this content when build is success

type String

default:

success: 'Build Passed!'

- failed

description: show this content when build is failed

type String

default:

failed: 'Build Failed'

- showErrorsNumber

description: show errors number when build is failed

type Boolean

default:

showErrorsNumber: false

Keywords

build status status image status webpack plugin

License

MIT

About

This plugin provide user-friendly messages or images about build status.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published