Registry / devops / webpack-isomorphic-compiler-reporter

webpack-isomorphic-compiler-reporter

JSON →
library1.3.3jsnpmunverified

A pretty reporting library for webpack-isomorphic-compiler (v1.3.3) that provides beautiful, isomorphic-aware console output during compilation events. It builds on webpack-sane-compiler-reporter but adds complete support for isomorphic compilation. No major recent releases; maintenance mode likely. Key differentiator: designed specifically for isomorphic webpack setups where client and server compilers are combined.

npm install webpack-isomorphic-compiler-reporter
INSTALL
IMPORT
SIG · WEBPACK-ISOMORPHIC
W
webpack-isomorphic-compiler-reporter
devopsjavascriptv1.3.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
✓ const startReporting = require('webpack-isomorphic-compiler-reporter');
✗ import startReporting from 'webpack-isomorphic-compiler-reporter';
Package is CJS-only; no ESM exports. Use require() or wrap in default interop.
startReporting
✓ const { stop, options } = startReporting(compiler, options);
✗ const { stop, options } = startReporting.default(compiler, options);
startReporting is the exported function directly, not a namespace.

Shows how to set up and run webpack-isomorphic-compiler with the reporter, including compiler creation, reporter config, and single compilation.

const startReporting = require('webpack-isomorphic-compiler-reporter'); const IsomorphicCompiler = require('webpack-isomorphic-compiler'); const webpackConfigClient = { /* client config */ }; const webpackConfigServer = { /* server config */ }; const compiler = new IsomorphicCompiler(webpackConfigClient, webpackConfigServer); // Start reporting const { stop } = startReporting(compiler, { stats: 'once', humanErrors: true, }); // Trigger compilation compiler.run((err, stats) => { if (err) console.error(err); // stop reporting when done stop(); });
Debug
Known issues
gotchaPackage is CJS-only; do not use ES import syntax without interop.
fix
Use require() or a CJS-compatible bundler transform.
affects: >=1.0.0
deprecatedwebpack-isomorphic-compiler may be deprecated in favor of modern solutions like webpack 5 built-in HMR.
fix
Consider migrating to webpack 5 or other isomorphic approaches.
affects: >=2.0.0
Errors
Common errors & fixes
Cannot find module 'webpack-isomorphic-compiler-reporter'
Package not installed or not in node_modules.
fix
npm install webpack-isomorphic-compiler-reporter --save-dev
TypeError: startReporting is not a function
Using ES import syntax incorrectly; the default export is a function but import expects a default interop.
fix
const startReporting = require('webpack-isomorphic-compiler-reporter');
Upgrade
Version history
1.3.3latest on npm
Audit
Dependencies
webpack-isomorphic-compilerrequiredPeer dependency required >=2.0.0 <4.0.0
Agent activity
8 hits · last 30 days
node
8
Resources
webpack-isomorphic-compiler-reporter — npm install webpack-isomorphic-compiler-reporter · libregistry