Skip to content

Commit

Permalink
Enable eslint caching in development
Browse files Browse the repository at this point in the history
POC for facebook#740. Haven't found any problem, build times improved about 1s on my project and machine.
  • Loading branch information
viankakrisna committed Feb 16, 2017
1 parent e9493a2 commit 91f39ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react-scripts/config/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ module.exports = {
// Point ESLint to our predefined config.
options: {
configFile: path.join(__dirname, '../.eslintrc'),
useEslintrc: false
useEslintrc: false,
cache: true
},
// @remove-on-eject-end
loader: 'eslint-loader'
Expand Down

0 comments on commit 91f39ef

Please sign in to comment.