weiler-electrode-webpack-reporter
v1.0.0
Published
Weiler fork -- A HTML (react) based reporter for webpack dev server
Downloads
2
Maintainers
Readme
Electrode Webpack Reporter
An HTML based reporter for webpack-dev-server. Adds a new route /reporter
to your webpack-dev-server HTTP server.
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.