es-webpack-notifier

1.7.0 • Public • Published

es-webpack-notifier

frok webpack-notifier, Add support for Multi-compiler mode

Installation

Use yarn to install this package:

yarn add es-webpack-notifier --dev

Usage

In the webpack.config.js file:

var WebpackNotifierPlugin = require('es-webpack-notifier');
 
var config = module.exports = {
  // ...
 
  plugins: [
    new WebpackNotifierPlugin(),
  ]
},

Configuration

Title

Title shown in the notification.

new WebpackNotifierPlugin({title: 'Webpack'});

Content Image

Image shown in the notification.

var path = require('path');
 
new WebpackNotifierPlugin({contentImage: path.join(__dirname, 'logo.png')});

Exclude Warnings

If set to true, warnings will not cause a notification.

new WebpackNotifierPlugin({excludeWarnings: true});

Always Notify

Trigger a notification every time. Call it "noisy-mode".

new WebpackNotifierPlugin({alwaysNotify: true});

Skip Notification on the First Build

Do not notify on the first build. This allows you to receive notifications on subsequent incremental builds without being notified on the initial build.

new WebpackNotifierPlugin({skipFirstNotification: true});

Dependents (8)

Package Sidebar

Install

npm i es-webpack-notifier

Weekly Downloads

7

Version

1.7.0

License

none

Unpacked Size

21.6 kB

Total Files

5

Last publish

Collaborators

  • lileiseven
  • codeages-admin