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.113,393latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.113,393
1.1.010,241
1.0.0348
0.4.22,620
0.4.11,327
0.4.0189
0.3.0209
0.2.01,234
0.1.7236
0.1.63
0.1.5117
0.1.40
0.1.30
0.1.20
0.1.10
0.1.00

Package Sidebar

Install

npm i error-overlay-webpack-plugin

Weekly Downloads

29,917

Version

1.1.1

License

MIT

Unpacked Size

24 kB

Total Files

9

Last publish

Collaborators

  • neoziro