Skip to content

Commit

Permalink
Ignore json files from TypeScript type checking (#5614)
Browse files Browse the repository at this point in the history
Fix #5613
  • Loading branch information
brunolemos authored and Timer committed Oct 29, 2018
1 parent 57cccb3 commit feea693
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-scripts/config/webpack.config.dev.js
Expand Up @@ -434,6 +434,7 @@ module.exports = {
},
reportFiles: [
'**',
'!**/*.json',
'!**/__tests__/**',
'!**/?(*.)(spec|test).*',
'!src/setupProxy.js',
Expand Down
1 change: 1 addition & 0 deletions packages/react-scripts/config/webpack.config.prod.js
Expand Up @@ -554,6 +554,7 @@ module.exports = {
},
reportFiles: [
'**',
'!**/*.json',
'!**/__tests__/**',
'!**/?(*.)(spec|test).*',
'!src/setupProxy.js',
Expand Down

0 comments on commit feea693

Please sign in to comment.