No! Primate Mutation!

    bitbar-webpack-status-plugin

    1.1.2 • Public • Published

    BitBar Webpack Status Plugin

    The plugin simply writes one of the following statuses:

    • -1 (red), failed build
    • 0 (yellow), build in progress
    • 1 (green), build successful

    Into a file /tmp/webpack-status. Should be used in conjunction with BitBar to display webpack compilation status in OSX status bar.

    BitBar Webpack Status

    Installation

    npm install bitbar-webpack-status-plugin --save-dev
    

    Usage

    var BitBarWebpackStatusPlugin = require('bitbar-webpack-status-plugin');
     
    // webpack configuration
    var config = {
      entry: …,
      output: {
        path: …,
        filename: …
      },
      plugins: [
        new BitBarWebpackStatusPlugin()
      ]
    };
    module.exports = config;

    Options

    filePath

    You can configure the file where the status is written with this option.

    var BitBarWebpackStatusPlugin = require('bitbar-webpack-status-plugin');
     
    // webpack configuration
    var config = {
      entry: …,
      output: {
        path: …,
        filename: …
      },
      plugins: [
        new BitBarWebpackStatusPlugin({ filePath: "/tmp/whatever-status" })
      ]
    };
    module.exports = config;

    Bitbar

    The plugin can be used in conjuction with BitBar Script present in this repository to display build process status in OSX status bar.

    Install

    npm i bitbar-webpack-status-plugin

    DownloadsWeekly Downloads

    206

    Version

    1.1.2

    License

    MIT

    Last publish

    Collaborators

    • fire-dragon-dol