The following line fails to create a valid JSON because `compilerDetailsLogMessage` gets logged before the json. ```sh webpack --profile --json > stats.json ``` `compilerDetailsLogMessage` should not be logged when printing webpack stats.
The following line fails to create a valid JSON because
compilerDetailsLogMessagegets logged before the json.webpack --profile --json > stats.jsoncompilerDetailsLogMessageshould not be logged when printing webpack stats.