error-overlay-webpack-plugin

Catch errors with style ?✨

Github stars Tracking Chart

Error Overlay Webpack Plugin

Build Status
version
MIT License

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 4 support
  • ? Elegant stack trace
  • ? Click to open error line in editor
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

Main metrics

Overview
Name With Ownergregberge/error-overlay-webpack-plugin
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2018-03-09 14:34:41
Pushed At2022-11-14 09:36:49
Last Commit At
Release Count16
Last Release Namev1.1.1 (Posted on )
First Release Namev0.1.0 (Posted on 2018-03-09 15:50:44)
用户参与
Stargazers Count872
Watchers Count7
Fork Count44
Commits Count67
Has Issues Enabled
Issues Count56
Issue Open Count10
Pull Requests Count29
Pull Requests Open Count2
Pull Requests Close Count22
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private