wk-j / bitbar-webpack-progress-plugin

Display webpack build progress in Mac OS X Menu Bar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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()]
};

About

Display webpack build progress in Mac OS X Menu Bar


Languages

Language:JavaScript 95.6%Language:HTML 3.6%Language:CSS 0.8%