f-error-overlay-webpack-plugin
npm i f-error-overlay-webpack-plugin

f-error-overlay-webpack-plugin

Catch errors with style 💥✨

by smooth-code

0.4.5 (see all)License:MITTypeScript:Not Found
npm i f-error-overlay-webpack-plugin
Readme

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
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

Downloads/wk

2

GitHub Stars

836

LAST COMMIT

NaNyrs ago

MAINTAINERS

1

CONTRIBUTORS

0

OPEN ISSUES

17

OPEN PRs

1
VersionTagPublished
0.4.5
latest
3yrs ago
No alternatives found
No tutorials found
Add a tutorial