npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

This package has been deprecated

Author message:

Please use webpack-sane-compiler-notifier instead

webpack-isomorphic-compiler-notifier

1.0.2 • Public • Published

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

install

npm i webpack-isomorphic-compiler-notifier

Downloadsweekly downloads

10

version

1.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability