electrode-webpack-reporter

A HTML based reporter for webpack dev server

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
electrode-webpack-reporter
5920.5.14 years ago6 years agoMinified + gzip package size for electrode-webpack-reporter in KB

Readme

Electrode Webpack Reporter
!NPM versionnpm-imagenpm-url !Build Statustravis-imagetravis-url !Dependency Statusdaviddm-imagedaviddm-url
An HTML based reporter for webpack-dev-server. Adds a new route /reporter to your webpack-dev-server HTTP server.
!screenshotscreenshot
Usage
const WebpackReporter = require("electrode-webpack-reporter");

const webpackConfig = {
  devServer: {
  }
};

const reporter = new WebpackReporter();
reporter.apply(webpackConfig);

//
// optional extra handling
//

reporter.on("report", (reporterOptions) => {
  if (reporterOptions.state) {
    // ... bundle is VALID
  }
});

Built with :heart: by Team Electrode @WalmartLabs.