diff --git a/packages/react-scripts/config/webpack.config.dev.js b/packages/react-scripts/config/webpack.config.dev.js index e1b001952c3..00bfb051268 100644 --- a/packages/react-scripts/config/webpack.config.dev.js +++ b/packages/react-scripts/config/webpack.config.dev.js @@ -266,7 +266,6 @@ module.exports = { cacheDirectory: true, // Don't waste time on Gzipping the cache cacheCompression: false, - highlightCode: true, }, }, ], @@ -307,7 +306,6 @@ module.exports = { 'react-scripts', ]), // @remove-on-eject-end - highlightCode: true, // If an error happens in a package, it's possible to be // because it was compiled. Thus, we don't want the browser // debugger to show the original code. Instead, the code diff --git a/packages/react-scripts/config/webpack.config.prod.js b/packages/react-scripts/config/webpack.config.prod.js index e10485de3b4..d19c5c4eb29 100644 --- a/packages/react-scripts/config/webpack.config.prod.js +++ b/packages/react-scripts/config/webpack.config.prod.js @@ -305,7 +305,6 @@ module.exports = { // Save disk space when time isn't as important cacheCompression: true, compact: true, - highlightCode: true, }, }, ], @@ -341,7 +340,6 @@ module.exports = { 'react-scripts', ]), // @remove-on-eject-end - highlightCode: true, // If an error happens in a package, it's possible to be // because it was compiled. Thus, we don't want the browser // debugger to show the original code. Instead, the code