Skip to content

Commit 91e28a4

Browse files
remove chalk from formatWebpackMessages (#10198)
1 parent 9b08e3c commit 91e28a4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/react-dev-utils/formatWebpackMessages.js

-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
'use strict';
99

10-
const chalk = require('chalk');
1110
const friendlySyntaxErrorLabel = 'Syntax error:';
1211

1312
function isLikelyASyntaxError(message) {
@@ -80,8 +79,6 @@ function formatMessage(message) {
8079
'Run `npm install node-sass` or `yarn add node-sass` inside your workspace.';
8180
}
8281

83-
lines[0] = chalk.inverse(lines[0]);
84-
8582
message = lines.join('\n');
8683
// Internal stacks are generally useless so we strip them... with the
8784
// exception of stacks containing `webpack:` because they're normally

0 commit comments

Comments
 (0)