Skip to content

Commit

Permalink
fix: slow recompile time (facebook#9911)
Browse files Browse the repository at this point in the history
  • Loading branch information
FezVrasta authored and abhiisheek committed May 24, 2023
1 parent 5c93830 commit b609d90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-scripts/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,7 @@ module.exports = function (webpackEnv) {
formatter: require.resolve('react-dev-utils/eslintFormatter'),
eslintPath: require.resolve('eslint'),
context: paths.appSrc,
cache: true,
// ESLint class options
cwd: paths.appPath,
resolvePluginsRelativeTo: __dirname,
Expand Down

0 comments on commit b609d90

Please sign in to comment.