We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12b0972 commit c7849e2Copy full SHA for c7849e2
scripts/start.js
@@ -105,7 +105,9 @@ function setupCompiler(port) {
105
// We have switched off the default Webpack output in WebpackDevServer
106
// options so we are going to "massage" the warnings and errors and present
107
// them in a readable focused way.
108
- var json = stats.toJson();
+ // We use stats.toJson({}, true) to make output more compact and readable:
109
+ // https://github.com/facebookincubator/create-react-app/issues/401#issuecomment-238291901
110
+ var json = stats.toJson({}, true);
111
var formattedErrors = json.errors.map(message =>
112
'Error in ' + formatMessage(message)
113
);
0 commit comments