Skip to content

williamoliveira/sound-notification-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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'
}