Webpack isomorphic compiler (v3.1.1) synchronizes client and server webpack compilations for isomorphic/universal JavaScript apps with server-side rendering. Compatible with webpack v2–v4, released sporadically (last update 2020). Provides an aggregated compiler API with hooks, events, and compilation results (clientStats, serverStats, duration). Extends webpack-sane-compiler for compatibility with reporter and notifier tools. Key differentiator: simplifies isomorphic webpack setups by managing two compilers and ensuring they are in sync, unlike raw multi-compiler which lacks plugin handlers.
npm install webpack-isomorphic-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates two webpack compilers (client and server) and combines them using isomorphicWebpack. Runs the aggregated compiler and logs compilation stats.
Update webpack to version 2.x, 3.x, or 4.x.
If using webpack 5, look for alternatives or fork the package.
Access clientStats and serverStats directly; stats is identical to clientStats.
Pass webpack compilers if you need full control over compiler instances.
Run 'npm install webpack-isomorphic-compiler --save-dev'.
Use 'import isomorphicWebpack from 'webpack-isomorphic-compiler'' or 'const isomorphicWebpack = require('webpack-isomorphic-compiler')'.Ensure both client and server configs are valid webpack configuration objects.