Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 512 Bytes

File metadata and controls

23 lines (17 loc) · 512 Bytes

SoundNotificationWebpackPlugin

Very simple webpack plugin that plays a sound when build is done

Install

npm i --dev sound-notification-webpack-plugin

Usage

var SoundNotificationWebpackPlugin = require('sound-notification-webpack-plugin');

new SoundNotificationWebpackPlugin(options);

Default options:

options = {
  player: 'paplay',
  successSound: '/usr/share/sounds/ubuntu/stereo/dialog-information.ogg',
  errorSound: '/usr/share/sounds/ubuntu/stereo/dialog-error.ogg'
}