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