Skip to content

Commit 54c107d

Browse files
brunolemosTimer
authored andcommitted
Ignore json files from TypeScript type checking (facebook#5614)
Fix facebook#5613
1 parent 5046399 commit 54c107d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: config/webpack.config.dev.js

+1
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ module.exports = {
434434
},
435435
reportFiles: [
436436
'**',
437+
'!**/*.json',
437438
'!**/__tests__/**',
438439
'!**/?(*.)(spec|test).*',
439440
'!src/setupProxy.js',

Diff for: config/webpack.config.prod.js

+1
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,7 @@ module.exports = {
554554
},
555555
reportFiles: [
556556
'**',
557+
'!**/*.json',
557558
'!**/__tests__/**',
558559
'!**/?(*.)(spec|test).*',
559560
'!src/setupProxy.js',

0 commit comments

Comments
 (0)