Skip to content

Commit

Permalink
remove chalk from formatWebpackMessages (#10198)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonwilliams committed Dec 4, 2020
1 parent 9b08e3c commit 91e28a4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/react-dev-utils/formatWebpackMessages.js
Expand Up @@ -7,7 +7,6 @@

'use strict';

const chalk = require('chalk');
const friendlySyntaxErrorLabel = 'Syntax error:';

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

lines[0] = chalk.inverse(lines[0]);

message = lines.join('\n');
// Internal stacks are generally useless so we strip them... with the
// exception of stacks containing `webpack:` because they're normally
Expand Down

0 comments on commit 91e28a4

Please sign in to comment.