friendly-errors-webpack-plugin
Friendly-errors-webpack-plugin recognizes certain classes of webpack errors and cleans, aggregates and prioritizes them to provide a better Developer Experience. It is easy to add types of errors so if you would like to see more errors get handled, please open a PR! npm install friendly-errors-webpack-plugin --save-dev Simply add FriendlyErrorsWebpackPlugin to the plugin section in your Webpack config.
https://www.npmjs.com/package/friendly-errors-webpack-plugin