{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7196","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7196/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7196/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7196/events","html_url":"https://github.com/Microsoft/TypeScript/issues/7196","id":135655045,"number":7196,"title":"tsconfig: removeComments doesn't work but --removeComments at command line does (v1.8.2)","user":{"login":"electricessence","id":5899455,"avatar_url":"https://avatars.githubusercontent.com/u/5899455?v=3","gravatar_id":"","url":"https://api.github.com/users/electricessence","html_url":"https://github.com/electricessence","followers_url":"https://api.github.com/users/electricessence/followers","following_url":"https://api.github.com/users/electricessence/following{/other_user}","gists_url":"https://api.github.com/users/electricessence/gists{/gist_id}","starred_url":"https://api.github.com/users/electricessence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electricessence/subscriptions","organizations_url":"https://api.github.com/users/electricessence/orgs","repos_url":"https://api.github.com/users/electricessence/repos","events_url":"https://api.github.com/users/electricessence/events{/privacy}","received_events_url":"https://api.github.com/users/electricessence/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-23T06:55:35Z","updated_at":"2016-02-23T18:49:59Z","closed_at":null,"body":"Compiling from gulp or command line removes comments but tsconfig is ignoring it.\r\n\r\n**TypeScript Version:** \r\n1.8.2\r\n\r\n**Code**\r\n```json\r\n{\r\n  \"compilerOptions\": {\r\n    \"module\": \"umd\",\r\n    \"target\": \"es5\",\r\n    \"sourceMap\": true,\r\n    \"noImplicitAny\":true,\r\n    \"removeComments\":true\r\n  },\r\n  \"exclude\": [\r\n    \"typings\",\r\n    \"node_modules\",\r\n    \"bower_components\",\r\n    \"dist\",\r\n    \".nuget\",\r\n    \"documentation\"\r\n  ]\r\n}\r\n```\r\n\r\n**Expected behavior:**\r\nShould remove comments except for /*! at beginning of file.\r\n\r\n**Actual behavior:** \r\nDoes not remove any comments when running from tsconfig."},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/187838133","html_url":"https://github.com/Microsoft/TypeScript/issues/7196#issuecomment-187838133","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7196","id":187838133,"user":{"login":"mhegazy","id":8000722,"avatar_url":"https://avatars.githubusercontent.com/u/8000722?v=3","gravatar_id":"","url":"https://api.github.com/users/mhegazy","html_url":"https://github.com/mhegazy","followers_url":"https://api.github.com/users/mhegazy/followers","following_url":"https://api.github.com/users/mhegazy/following{/other_user}","gists_url":"https://api.github.com/users/mhegazy/gists{/gist_id}","starred_url":"https://api.github.com/users/mhegazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhegazy/subscriptions","organizations_url":"https://api.github.com/users/mhegazy/orgs","repos_url":"https://api.github.com/users/mhegazy/repos","events_url":"https://api.github.com/users/mhegazy/events{/privacy}","received_events_url":"https://api.github.com/users/mhegazy/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T18:49:59Z","updated_at":"2016-02-23T18:49:59Z","body":"i can not get a repro locally for this issue. can you provide more information on how you are running tsc..\r\n\r\n```cmd\r\nc:\\test\\7196>type file1.ts\r\n// comments\r\nvar x = 0;\r\n\r\nc:\\test\\7196>type tsconfig.json\r\n{\r\n  \"compilerOptions\": {\r\n    \"module\": \"umd\",\r\n    \"target\": \"es5\",\r\n    \"sourceMap\": true,\r\n    \"noImplicitAny\":true,\r\n    \"removeComments\":true\r\n  },\r\n  \"exclude\": [\r\n    \"typings\",\r\n    \"node_modules\",\r\n    \"bower_components\",\r\n    \"dist\",\r\n    \".nuget\",\r\n    \"documentation\"\r\n  ]\r\n}\r\n\r\nc:\\test\\7196>tsc --v\r\nVersion 1.8.2\r\n\r\nc:\\test\\7196>tsc\r\n\r\nc:\\test\\7196>type file1.js\r\nvar x = 0;\r\n//# sourceMappingURL=file1.js.map\r\n```"}}