/bitbar-webpack-progress-plugin

Display webpack build progress in Mac OS X Menu Bar

Primary LanguageJavaScript

Bitbar Webpack Progress Plugin

Display webpack build progress in macOS Menu Bar.

Install Webpack Plugin

npm install --save bitbar-webpack-progress-plugin

Install Bitbar Plugin

Usage

var BitBarWebpackProgressPlugin = require("bitbar-webpack-progress-plugin");

module.exports = {
  entry: {
    main: "./app/main",
    renderer: "./app/renderer"
  },
  output: {
    filename: "[name].js",
    path: "./dist/js",
    libraryTarget: "commonjs2"
  },
  target: "node",
  node: {
    __dirname: false,
    __filename: false
  },
  devtool: "source-map",
  module: {
    preLoaders: [{
      loader: "source-map-loader",
      exclude: /node_modules/,
      test: /\.js$/
    }]
  },
  plugins: [
      new BitBarWebpackProgressPlugin()
  ]
};