webpack-sound-plugin

1.0.1 • Public • Published

webpack-sound-plugin

Plays audio notifications when warnings / errors occured while building with webpack.

Installation

$ npm i webpack-sound-plugin --save-dev
const SoundAlert = require('webpack-sound-plugin');

plugins: [
  ...
  new SoundAlert({
    warning: 'warning.mp3',
    error: 'error.mp3'
    // ok: 'ok.mp3'
  })
  ...
]

Audio Player Command Line

$ sudo apt-get install mpg123
  • Windows : dlc

    http://dlcplayer.jimdo.com/

    • dlc is build-in now, so you don't have to install command line by self.
    • You still can download dlcplayer from here if you want.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i webpack-sound-plugin

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

1.84 MB

Total Files

14

Last publish

Collaborators

  • ustym