bitbar-webpack-progress-plugin

Display webpack build progress in macOS Menu Bar.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
bitbar-webpack-progress-plugin
1.0.04 years ago6 years agoMinified + gzip package size for bitbar-webpack-progress-plugin in KB

Readme

Bitbar Webpack Progress Plugin

Display webpack build progress in macOS Menu Bar.

Install Webpack Plugin

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

Install Bitbar Plugin

  • https://github.com/wk-j/bitbar-plugins/blob/master/webpack-progress.1s.sh

Usage

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

module.exports = {
  mode: "development",
  entry: {
    main: "./app/main"
  },
  output: {
    filename: "[name].js",
    path: path.join(__dirname, "dist", "js")
  },
  devtool: "source-map",
  module: {
    rules: [
      { test: /\.js$/, loader: 'babel-loader', exclude: /node_modules/ },
      { test: /\.css$/, use: ['style-loader', 'css-loader'] }
    ]
  },
  plugins: [new BitBarWebpackProgressPlugin()]
};