GitHunt
HO

hozefaj/error-overlay-webpack-plugin

Catch errors with style ๐Ÿ’ฅโœจ

Error Overlay Webpack Plugin

Build Status
version
MIT License

Catch errors with style ๐Ÿ’ฅโœจ

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

  • ๐Ÿ“ฆ Webpack 4 support
  • ๐Ÿฅž Elegant stack trace
  • ๐Ÿ“ Click to open error line in editor

Error Overlay Webpack Plugin Example

npm install error-overlay-webpack-plugin

Usage

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

module.exports = {
  entry: 'main.js',
  output: {
    path: __dirname + '/dist',
    filename: 'bundle.js',
  },
  plugins: [new ErrorOverlayPlugin()],
}

License

MIT

Languages

JavaScript100.0%

Contributors

MIT License
Created March 9, 2018
Updated March 10, 2023