{"action":"created","comment":{"url":"https://api.github.com/repos/parcel-bundler/parcel/pulls/comments/212448467","pull_request_review_id":149086788,"id":212448467,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjQ0ODQ2Nw==","diff_hunk":"@@ -301,3 +307,20 @@ async function getJSXConfig(asset, isSourceModule) {\n     };\n   }\n }\n+\n+/**\n+ * Generates a babel config for stripping away Flow types.\n+ */\n+function getFlowConfig(asset, isSourceModule) {\n+  if (\n+    !isSourceModule &&","path":"src/transforms/babel.js","position":30,"original_position":30,"commit_id":"48bff7eec7ab7ddc0f4d23be5c3d870777d1a260","original_commit_id":"48bff7eec7ab7ddc0f4d23be5c3d870777d1a260","user":{"login":"devongovett","id":19409,"node_id":"MDQ6VXNlcjE5NDA5","avatar_url":"https://avatars0.githubusercontent.com/u/19409?v=4","gravatar_id":"","url":"https://api.github.com/users/devongovett","html_url":"https://github.com/devongovett","followers_url":"https://api.github.com/users/devongovett/followers","following_url":"https://api.github.com/users/devongovett/following{/other_user}","gists_url":"https://api.github.com/users/devongovett/gists{/gist_id}","starred_url":"https://api.github.com/users/devongovett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devongovett/subscriptions","organizations_url":"https://api.github.com/users/devongovett/orgs","repos_url":"https://api.github.com/users/devongovett/repos","events_url":"https://api.github.com/users/devongovett/events{/privacy}","received_events_url":"https://api.github.com/users/devongovett/received_events","type":"User","site_admin":false},"body":"I think it would be a nice feature to enable flow automatically on source code just like we do for JSX.\r\n\r\nShipped code should generally be pre-transpiled to remove the types I thought... Not sure, I guess it doesn't hurt to automatically do it for everything.","created_at":"2018-08-23T20:35:44Z","updated_at":"2018-08-23T20:35:44Z","html_url":"https://github.com/parcel-bundler/parcel/pull/1864#discussion_r212448467","pull_request_url":"https://api.github.com/repos/parcel-bundler/parcel/pulls/1864","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/parcel-bundler/parcel/pulls/comments/212448467"},"html":{"href":"https://github.com/parcel-bundler/parcel/pull/1864#discussion_r212448467"},"pull_request":{"href":"https://api.github.com/repos/parcel-bundler/parcel/pulls/1864"}},"in_reply_to_id":212415440},"pull_request":{"url":"https://api.github.com/repos/parcel-bundler/parcel/pulls/1864","id":206863723,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2ODYzNzIz","html_url":"https://github.com/parcel-bundler/parcel/pull/1864","diff_url":"https://github.com/parcel-bundler/parcel/pull/1864.diff","patch_url":"https://github.com/parcel-bundler/parcel/pull/1864.patch","issue_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/1864","number":1864,"state":"open","locked":false,"title":"Detect and apply stripping flow types","user":{"login":"DeMoorJasper","id":2175521,"node_id":"MDQ6VXNlcjIxNzU1MjE=","avatar_url":"https://avatars1.githubusercontent.com/u/2175521?v=4","gravatar_id":"","url":"https://api.github.com/users/DeMoorJasper","html_url":"https://github.com/DeMoorJasper","followers_url":"https://api.github.com/users/DeMoorJasper/followers","following_url":"https://api.github.com/users/DeMoorJasper/following{/other_user}","gists_url":"https://api.github.com/users/DeMoorJasper/gists{/gist_id}","starred_url":"https://api.github.com/users/DeMoorJasper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeMoorJasper/subscriptions","organizations_url":"https://api.github.com/users/DeMoorJasper/orgs","repos_url":"https://api.github.com/users/DeMoorJasper/repos","events_url":"https://api.github.com/users/DeMoorJasper/events{/privacy}","received_events_url":"https://api.github.com/users/DeMoorJasper/received_events","type":"User","site_admin":false},"body":"Closes #1863","created_at":"2018-08-08T00:44:00Z","updated_at":"2018-08-23T20:35:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5de075d75473e996bfef04edba55200671ee0d09","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/parcel-bundler/parcel/pulls/1864/commits","review_comments_url":"https://api.github.com/repos/parcel-bundler/parcel/pulls/1864/comments","review_comment_url":"https://api.github.com/repos/parcel-bundler/parcel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/1864/comments","statuses_url":"https://api.github.com/repos/parcel-bundler/parcel/statuses/48bff7eec7ab7ddc0f4d23be5c3d870777d1a260","head":{"label":"parcel-bundler:feature/strip-flow-types","ref":"feature/strip-flow-types","sha":"48bff7eec7ab7ddc0f4d23be5c3d870777d1a260","user":{"login":"parcel-bundler","id":32607881,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyNjA3ODgx","avatar_url":"https://avatars1.githubusercontent.com/u/32607881?v=4","gravatar_id":"","url":"https://api.github.com/users/parcel-bundler","html_url":"https://github.com/parcel-bundler","followers_url":"https://api.github.com/users/parcel-bundler/followers","following_url":"https://api.github.com/users/parcel-bundler/following{/other_user}","gists_url":"https://api.github.com/users/parcel-bundler/gists{/gist_id}","starred_url":"https://api.github.com/users/parcel-bundler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parcel-bundler/subscriptions","organizations_url":"https://api.github.com/users/parcel-bundler/orgs","repos_url":"https://api.github.com/users/parcel-bundler/repos","events_url":"https://api.github.com/users/parcel-bundler/events{/privacy}","received_events_url":"https://api.github.com/users/parcel-bundler/received_events","type":"Organization","site_admin":false},"repo":{"id":99598595,"node_id":"MDEwOlJlcG9zaXRvcnk5OTU5ODU5NQ==","name":"parcel","full_name":"parcel-bundler/parcel","owner":{"login":"parcel-bundler","id":32607881,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyNjA3ODgx","avatar_url":"https://avatars1.githubusercontent.com/u/32607881?v=4","gravatar_id":"","url":"https://api.github.com/users/parcel-bundler","html_url":"https://github.com/parcel-bundler","followers_url":"https://api.github.com/users/parcel-bundler/followers","following_url":"https://api.github.com/users/parcel-bundler/following{/other_user}","gists_url":"https://api.github.com/users/parcel-bundler/gists{/gist_id}","starred_url":"https://api.github.com/users/parcel-bundler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parcel-bundler/subscriptions","organizations_url":"https://api.github.com/users/parcel-bundler/orgs","repos_url":"https://api.github.com/users/parcel-bundler/repos","events_url":"https://api.github.com/users/parcel-bundler/events{/privacy}","received_events_url":"https://api.github.com/users/parcel-bundler/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/parcel-bundler/parcel","description":"📦🚀 Blazing fast, zero configuration web application bundler","fork":false,"url":"https://api.github.com/repos/parcel-bundler/parcel","forks_url":"https://api.github.com/repos/parcel-bundler/parcel/forks","keys_url":"https://api.github.com/repos/parcel-bundler/parcel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/parcel-bundler/parcel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/parcel-bundler/parcel/teams","hooks_url":"https://api.github.com/repos/parcel-bundler/parcel/hooks","issue_events_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/events{/number}","events_url":"https://api.github.com/repos/parcel-bundler/parcel/events","assignees_url":"https://api.github.com/repos/parcel-bundler/parcel/assignees{/user}","branches_url":"https://api.github.com/repos/parcel-bundler/parcel/branches{/branch}","tags_url":"https://api.github.com/repos/parcel-bundler/parcel/tags","blobs_url":"https://api.github.com/repos/parcel-bundler/parcel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/parcel-bundler/parcel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/parcel-bundler/parcel/git/refs{/sha}","trees_url":"https://api.github.com/repos/parcel-bundler/parcel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/parcel-bundler/parcel/statuses/{sha}","languages_url":"https://api.github.com/repos/parcel-bundler/parcel/languages","stargazers_url":"https://api.github.com/repos/parcel-bundler/parcel/stargazers","contributors_url":"https://api.github.com/repos/parcel-bundler/parcel/contributors","subscribers_url":"https://api.github.com/repos/parcel-bundler/parcel/subscribers","subscription_url":"https://api.github.com/repos/parcel-bundler/parcel/subscription","commits_url":"https://api.github.com/repos/parcel-bundler/parcel/commits{/sha}","git_commits_url":"https://api.github.com/repos/parcel-bundler/parcel/git/commits{/sha}","comments_url":"https://api.github.com/repos/parcel-bundler/parcel/comments{/number}","issue_comment_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/comments{/number}","contents_url":"https://api.github.com/repos/parcel-bundler/parcel/contents/{+path}","compare_url":"https://api.github.com/repos/parcel-bundler/parcel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/parcel-bundler/parcel/merges","archive_url":"https://api.github.com/repos/parcel-bundler/parcel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/parcel-bundler/parcel/downloads","issues_url":"https://api.github.com/repos/parcel-bundler/parcel/issues{/number}","pulls_url":"https://api.github.com/repos/parcel-bundler/parcel/pulls{/number}","milestones_url":"https://api.github.com/repos/parcel-bundler/parcel/milestones{/number}","notifications_url":"https://api.github.com/repos/parcel-bundler/parcel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/parcel-bundler/parcel/labels{/name}","releases_url":"https://api.github.com/repos/parcel-bundler/parcel/releases{/id}","deployments_url":"https://api.github.com/repos/parcel-bundler/parcel/deployments","created_at":"2017-08-07T16:36:47Z","updated_at":"2018-08-23T20:12:25Z","pushed_at":"2018-08-23T19:08:23Z","git_url":"git://github.com/parcel-bundler/parcel.git","ssh_url":"git@github.com:parcel-bundler/parcel.git","clone_url":"https://github.com/parcel-bundler/parcel.git","svn_url":"https://github.com/parcel-bundler/parcel","homepage":"https://parceljs.org","size":2786,"stargazers_count":25993,"watchers_count":25993,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1053,"mirror_url":null,"archived":false,"open_issues_count":459,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1053,"open_issues":459,"watchers":25993,"default_branch":"master"}},"base":{"label":"parcel-bundler:master","ref":"master","sha":"dd99fa1b338f17416a5ddbc4a3154895170ea722","user":{"login":"parcel-bundler","id":32607881,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyNjA3ODgx","avatar_url":"https://avatars1.githubusercontent.com/u/32607881?v=4","gravatar_id":"","url":"https://api.github.com/users/parcel-bundler","html_url":"https://github.com/parcel-bundler","followers_url":"https://api.github.com/users/parcel-bundler/followers","following_url":"https://api.github.com/users/parcel-bundler/following{/other_user}","gists_url":"https://api.github.com/users/parcel-bundler/gists{/gist_id}","starred_url":"https://api.github.com/users/parcel-bundler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parcel-bundler/subscriptions","organizations_url":"https://api.github.com/users/parcel-bundler/orgs","repos_url":"https://api.github.com/users/parcel-bundler/repos","events_url":"https://api.github.com/users/parcel-bundler/events{/privacy}","received_events_url":"https://api.github.com/users/parcel-bundler/received_events","type":"Organization","site_admin":false},"repo":{"id":99598595,"node_id":"MDEwOlJlcG9zaXRvcnk5OTU5ODU5NQ==","name":"parcel","full_name":"parcel-bundler/parcel","owner":{"login":"parcel-bundler","id":32607881,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyNjA3ODgx","avatar_url":"https://avatars1.githubusercontent.com/u/32607881?v=4","gravatar_id":"","url":"https://api.github.com/users/parcel-bundler","html_url":"https://github.com/parcel-bundler","followers_url":"https://api.github.com/users/parcel-bundler/followers","following_url":"https://api.github.com/users/parcel-bundler/following{/other_user}","gists_url":"https://api.github.com/users/parcel-bundler/gists{/gist_id}","starred_url":"https://api.github.com/users/parcel-bundler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parcel-bundler/subscriptions","organizations_url":"https://api.github.com/users/parcel-bundler/orgs","repos_url":"https://api.github.com/users/parcel-bundler/repos","events_url":"https://api.github.com/users/parcel-bundler/events{/privacy}","received_events_url":"https://api.github.com/users/parcel-bundler/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/parcel-bundler/parcel","description":"📦🚀 Blazing fast, zero configuration web application bundler","fork":false,"url":"https://api.github.com/repos/parcel-bundler/parcel","forks_url":"https://api.github.com/repos/parcel-bundler/parcel/forks","keys_url":"https://api.github.com/repos/parcel-bundler/parcel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/parcel-bundler/parcel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/parcel-bundler/parcel/teams","hooks_url":"https://api.github.com/repos/parcel-bundler/parcel/hooks","issue_events_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/events{/number}","events_url":"https://api.github.com/repos/parcel-bundler/parcel/events","assignees_url":"https://api.github.com/repos/parcel-bundler/parcel/assignees{/user}","branches_url":"https://api.github.com/repos/parcel-bundler/parcel/branches{/branch}","tags_url":"https://api.github.com/repos/parcel-bundler/parcel/tags","blobs_url":"https://api.github.com/repos/parcel-bundler/parcel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/parcel-bundler/parcel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/parcel-bundler/parcel/git/refs{/sha}","trees_url":"https://api.github.com/repos/parcel-bundler/parcel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/parcel-bundler/parcel/statuses/{sha}","languages_url":"https://api.github.com/repos/parcel-bundler/parcel/languages","stargazers_url":"https://api.github.com/repos/parcel-bundler/parcel/stargazers","contributors_url":"https://api.github.com/repos/parcel-bundler/parcel/contributors","subscribers_url":"https://api.github.com/repos/parcel-bundler/parcel/subscribers","subscription_url":"https://api.github.com/repos/parcel-bundler/parcel/subscription","commits_url":"https://api.github.com/repos/parcel-bundler/parcel/commits{/sha}","git_commits_url":"https://api.github.com/repos/parcel-bundler/parcel/git/commits{/sha}","comments_url":"https://api.github.com/repos/parcel-bundler/parcel/comments{/number}","issue_comment_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/comments{/number}","contents_url":"https://api.github.com/repos/parcel-bundler/parcel/contents/{+path}","compare_url":"https://api.github.com/repos/parcel-bundler/parcel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/parcel-bundler/parcel/merges","archive_url":"https://api.github.com/repos/parcel-bundler/parcel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/parcel-bundler/parcel/downloads","issues_url":"https://api.github.com/repos/parcel-bundler/parcel/issues{/number}","pulls_url":"https://api.github.com/repos/parcel-bundler/parcel/pulls{/number}","milestones_url":"https://api.github.com/repos/parcel-bundler/parcel/milestones{/number}","notifications_url":"https://api.github.com/repos/parcel-bundler/parcel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/parcel-bundler/parcel/labels{/name}","releases_url":"https://api.github.com/repos/parcel-bundler/parcel/releases{/id}","deployments_url":"https://api.github.com/repos/parcel-bundler/parcel/deployments","created_at":"2017-08-07T16:36:47Z","updated_at":"2018-08-23T20:12:25Z","pushed_at":"2018-08-23T19:08:23Z","git_url":"git://github.com/parcel-bundler/parcel.git","ssh_url":"git@github.com:parcel-bundler/parcel.git","clone_url":"https://github.com/parcel-bundler/parcel.git","svn_url":"https://github.com/parcel-bundler/parcel","homepage":"https://parceljs.org","size":2786,"stargazers_count":25993,"watchers_count":25993,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1053,"mirror_url":null,"archived":false,"open_issues_count":459,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1053,"open_issues":459,"watchers":25993,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/parcel-bundler/parcel/pulls/1864"},"html":{"href":"https://github.com/parcel-bundler/parcel/pull/1864"},"issue":{"href":"https://api.github.com/repos/parcel-bundler/parcel/issues/1864"},"comments":{"href":"https://api.github.com/repos/parcel-bundler/parcel/issues/1864/comments"},"review_comments":{"href":"https://api.github.com/repos/parcel-bundler/parcel/pulls/1864/comments"},"review_comment":{"href":"https://api.github.com/repos/parcel-bundler/parcel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/parcel-bundler/parcel/pulls/1864/commits"},"statuses":{"href":"https://api.github.com/repos/parcel-bundler/parcel/statuses/48bff7eec7ab7ddc0f4d23be5c3d870777d1a260"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"devongovett"}}