When an issue with webpack setup/compilation arises (typically occurs and passed down by a style-check loader like standard-webpack) karma-webpack reports the errors twice. One which is a full json report and the other is the toString variant of it. The issue with this is that while they do not break any functionality, json is currently both not customizable through webpack.stats but also acts as an unprettified version (in which toString excels in both), so the additional logging is passed down without any extra purpose behind it.
Actual Behavior
When an issue with webpack arises (typically occurs and passed down by a style-check loader like standard-webpack) karma-webpack reports a prettified version of the error. Easily digestible and modifiable by the webpack config's stats property.
How Do We Reproduce?
Pass any karma-webpack scenario, pass in any loader with easily created warning/error (standard-loader with standard in this case) and let it break, you will see two logs, being the json variant and prettified version.
Expected Behavior
When an issue with webpack setup/compilation arises (typically occurs and passed down by a style-check loader like standard-webpack) karma-webpack reports the errors twice. One which is a full json report and the other is the toString variant of it. The issue with this is that while they do not break any functionality, json is currently both not customizable through webpack.stats but also acts as an unprettified version (in which toString excels in both), so the additional logging is passed down without any extra purpose behind it.
Actual Behavior
When an issue with webpack arises (typically occurs and passed down by a style-check loader like standard-webpack) karma-webpack reports a prettified version of the error. Easily digestible and modifiable by the webpack config's stats property.
How Do We Reproduce?
Pass any karma-webpack scenario, pass in any loader with easily created warning/error (standard-loader with standard in this case) and let it break, you will see two logs, being the json variant and prettified version.