❗❗❗ This repository is moved to enonic-npm ❗❗❗
Log webpack errors in readable format, suitable for navigation.
const ErrorLoggerPlugin = require('error-logger-webpack-plugin');
// ...
const config = {
// ...
plugins: [
new ErrorLoggerPlugin({verbose: false})
]
};
module.exports = config;
See the official webpack documentation for a deeper explanation of plugin usage.
You can pass a hash of configuration options to ErrorLoggerPlugin
, such as:
verbose
:true | false
Iffalse
(default) try to minimize the error message.