Webpack plugin that displays a full-screen error overlay in the browser during development, similar to create-react-app. Current stable version is 1.1.1, with sporadic releases for bug fixes. It supports Webpack 4 and 5, provides elegant stack traces, and allows clicking to open error lines in the editor. Key differentiator: seamless integration of the same error overlay used in CRA without ejecting, with support for custom sockHost/sockPath settings.
npm install error-overlay-webpack-pluginVerified import paths — ran on the pinned version, not inferred.
Basic setup of error-overlay-webpack-plugin with Webpack 5, devtool configuration, and dev server.
Set devtool to 'cheap-module-source-map' in webpack config.
Do not pass 'before' option; use webpack-dev-server's 'onBeforeSetupMiddleware' instead.
Upgrade to v1.1.1 for Webpack 4 support or use v0.4.2 if Webpack 4 needed.
Pass custom sockHost/sockPath/sockPort options to the plugin, or use webpack-dev-server.
Remove 'before' from plugin options. Use webpack-dev-server's 'onBeforeSetupMiddleware' instead.
Set 'mode' to 'development' in webpack config.
No dependency data recorded yet.