1.0.2 • Published 7 years ago

webpack-isomorphic-compiler-notifier v1.0.2

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

webpack-isomorphic-compiler-notifier

NPM version Downloads Build Status Coverage Status Dependency status Dev Dependency status Greenkeeper badge

Notify webpack compilation status to your operating system when using webpack-isomorphic-compiler.

Installation

$ npm install webpack-isomorphic-compiler-notifier --save-dev

Usage

import webpackIsomorphicCompiler from 'webpack-isomorphic-compiler';
import webpackIsomorphicCompilerNotifier from 'webpack-isomorphic-compiler-notifier';

const compiler = webpackIsomorphicCompiler(/* client config */, /* server config */);

webpackIsomorphicCompilerNotifier(compiler);

For convenience, the function returns the isomorphic compiler passed as the first argument.
The second argument accepts an options object:

  • title: The title for the notification (defaults to the package.json name property)
  • icon: The icon for the notification (defaults to the webpack logo)
  • sound: Play a sound when notifying on OS that support it (defaults to false)

Tests

$ npm test
$ npm test -- --watch during development

License

MIT License

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.0

7 years ago