Skip to content

Latest commit

 

History

History

pack-notification

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Notification Pack npm-latest

Enable desktop notifications for build messages.

Notification Pack uses webpack-notifier to show desktop notification for build errors.

Overview

Setup

Notification Pack is included in the complete and default editions.

Current Release

npm install --save-dev @packmule/notification-pack

Nightly Build

npm install --save-dev @packmule/notification-pack@nightly

API

NotifyPack();

Hints

  • notify - Controls whether the pack is actually enabled or not.

Usage

Example

Enable desktop notifications.

import Packmule from '@packmule/core';
import NotificationPack from '@packmule/notifiction-pack';

const packmule = new Packmule();

if (env.server) {
    packmule.add(new NotificationPack());
}

return packmule.generate();

License

MIT