Webpack Logging Plugin
Introduction
Webpack's default output during compilation is usually not very pretty. This plugin gives you are better progress logging and the opportunity to format your webpack errors/warnings by yourself.
Install
$ npm install --save-dev webpack-logging-plugin
Usage
Add this to your webpack config:
const WebpackLoggingPlugin = ;const formatWebpackMessages = ; const config = entry: '...' output: {} modules: {} plugins: err console ;
or if you are using a multi compiler environment like for universal applications:
const express = ;const webpack = ;const WebpackLoggingPlugin = ;const webpackDevMiddleware = ;const webpackHotMiddleware = ;const webpackHotServerMiddleware = ;const formatWebpackMessages = ;const configs = ; const multiCompiler = ; // apply pretty webpack status loggingmultiCompiler; // init & start dev serverconst app = ;app;app;app;app;
License
MIT