We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42efedb commit 9cfa355Copy full SHA for 9cfa355
packages/react-dev-utils/webpackHotDevClient.js
@@ -228,6 +228,13 @@ function handleWarnings(warnings) {
228
229
if (typeof console !== 'undefined' && typeof console.warn === 'function') {
230
for (var i = 0; i < formatted.warnings.length; i++) {
231
+ if (i === 5) {
232
+ console.warn(
233
+ 'There were more warnings in other files.\n' +
234
+ 'You can find a complete log in the terminal.'
235
+ );
236
+ break;
237
+ }
238
console.warn(stripAnsi(formatted.warnings[i]));
239
}
240
0 commit comments