@modern-js/friendly-errors-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

2.35.1 • Public • Published

@modern-js/friendly-errors-webpack-plugin

Transform and format webpack error into being more human-readable.

Getting Started

Install the plugin by your favorite package manager, such as:

$ pnpm add -D @modern-js/friendly-errors-webpack-plugin

Then config it like:

// webpack.config.js
const { FriendlyErrorsWebpackPlugin } = require('@modern-js/friendly-errors-webpack-plugin');

/** @type {import('webpack').Configuration} */
module.exports = {
  plugins: [
    new FriendlyErrorsWebpackPlugin(),
  ],
};

Now you will get an output like the one below.

screenshot

Package Sidebar

Install

npm i @modern-js/friendly-errors-webpack-plugin

Homepage

modernjs.dev

Weekly Downloads

1

Version

2.35.1

License

MIT

Unpacked Size

71.9 kB

Total Files

35

Last publish

Collaborators

  • jserfeng
  • jingkai.zhao
  • sanyuan0704
  • derozan
  • xieqixuan.xx
  • shawzhou
  • chenjiahan
  • xuchaobei
  • webinfrabot
  • targeral
  • yimingjfe
  • caohuilin
  • kky_kongjiacong
  • bytednpm