Skip to content

Commit ceeb654

Browse files
authored
fix: slow recompile time (#9911)
fixes #9886
1 parent ed95893 commit ceeb654

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: packages/react-scripts/config/webpack.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,7 @@ module.exports = function (webpackEnv) {
752752
formatter: require.resolve('react-dev-utils/eslintFormatter'),
753753
eslintPath: require.resolve('eslint'),
754754
context: paths.appSrc,
755+
cache: true,
755756
// ESLint class options
756757
cwd: paths.appPath,
757758
resolvePluginsRelativeTo: __dirname,

0 commit comments

Comments
 (0)