error-overlay-webpack-plugin

1.1.1 • Public • Published

Error Overlay Webpack Plugin

Node.js CI

Catch errors with style 💥

This plugin will display an error overlay in your application. It is the same error overlay used in create-react-app.

  • 📦 Webpack 5 support
  • 🥞 Elegant stack trace
  • 📝 Click to open error line in editor

Error Overlay Webpack Plugin Example

npm install error-overlay-webpack-plugin --save-dev

Usage

// webpack.config.js
const ErrorOverlayPlugin = require('error-overlay-webpack-plugin')

module.exports = {
  entry: 'main.js',
  output: {
    path: __dirname + '/dist',
    filename: 'bundle.js',
  },
  plugins: [new ErrorOverlayPlugin()],
  devtool: 'cheap-module-source-map', // 'eval' is not supported by error-overlay-webpack-plugin
}

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.112,214latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.112,214
1.1.010,548
1.0.01,082
0.4.26,857
0.4.13,114
0.4.0287
0.3.0137
0.2.01,835
0.1.7143
0.1.619
0.1.5255
0.1.422
0.1.30
0.1.20
0.1.10
0.1.00

Package Sidebar

Install

npm i error-overlay-webpack-plugin

Weekly Downloads

36,513

Version

1.1.1

License

MIT

Unpacked Size

24 kB

Total Files

9

Last publish

Collaborators

  • neoziro