{"action":"created","issue":{"url":"https://api.github.com/repos/TypeStrong/ts-loader/issues/57","labels_url":"https://api.github.com/repos/TypeStrong/ts-loader/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/TypeStrong/ts-loader/issues/57/comments","events_url":"https://api.github.com/repos/TypeStrong/ts-loader/issues/57/events","html_url":"https://github.com/TypeStrong/ts-loader/issues/57","id":108251095,"number":57,"title":"Add warning if `files` is omitted from tsconfig.json","user":{"login":"jbrantly","id":196944,"avatar_url":"https://avatars.githubusercontent.com/u/196944?v=3","gravatar_id":"","url":"https://api.github.com/users/jbrantly","html_url":"https://github.com/jbrantly","followers_url":"https://api.github.com/users/jbrantly/followers","following_url":"https://api.github.com/users/jbrantly/following{/other_user}","gists_url":"https://api.github.com/users/jbrantly/gists{/gist_id}","starred_url":"https://api.github.com/users/jbrantly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbrantly/subscriptions","organizations_url":"https://api.github.com/users/jbrantly/orgs","repos_url":"https://api.github.com/users/jbrantly/repos","events_url":"https://api.github.com/users/jbrantly/events{/privacy}","received_events_url":"https://api.github.com/users/jbrantly/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TypeStrong/ts-loader/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/TypeStrong/ts-loader/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-25T02:34:40Z","updated_at":"2015-10-06T11:39:45Z","closed_at":null,"body":"[All files in the directory and subdirectory are included](https://github.com/Microsoft/TypeScript/wiki/tsconfig.json#details) if `files` is omitted from tsconfig.json. This typically results in some errors of some sort as all kinds of crap can get added (TypeScript lib files, for instance). I think it might be useful to detect this condition and just print a simple warning."},"comment":{"url":"https://api.github.com/repos/TypeStrong/ts-loader/issues/comments/145830530","html_url":"https://github.com/TypeStrong/ts-loader/issues/57#issuecomment-145830530","issue_url":"https://api.github.com/repos/TypeStrong/ts-loader/issues/57","id":145830530,"user":{"login":"jbrantly","id":196944,"avatar_url":"https://avatars.githubusercontent.com/u/196944?v=3","gravatar_id":"","url":"https://api.github.com/users/jbrantly","html_url":"https://github.com/jbrantly","followers_url":"https://api.github.com/users/jbrantly/followers","following_url":"https://api.github.com/users/jbrantly/following{/other_user}","gists_url":"https://api.github.com/users/jbrantly/gists{/gist_id}","starred_url":"https://api.github.com/users/jbrantly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbrantly/subscriptions","organizations_url":"https://api.github.com/users/jbrantly/orgs","repos_url":"https://api.github.com/users/jbrantly/repos","events_url":"https://api.github.com/users/jbrantly/events{/privacy}","received_events_url":"https://api.github.com/users/jbrantly/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T11:39:45Z","updated_at":"2015-10-06T11:39:45Z","body":"Good point. FWIW, `exclude` does already work in ts-loader, but you're definitely right that any warning message would need to take that into account."}}