{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babylon/issues/190","repository_url":"https://api.github.com/repos/babel/babylon","labels_url":"https://api.github.com/repos/babel/babylon/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/babel/babylon/issues/190/comments","events_url":"https://api.github.com/repos/babel/babylon/issues/190/events","html_url":"https://github.com/babel/babylon/pull/190","id":183285964,"number":190,"title":"Use rollup for bundling to speed up startup time","user":{"login":"DrewML","id":5233399,"avatar_url":"https://avatars.githubusercontent.com/u/5233399?v=3","gravatar_id":"","url":"https://api.github.com/users/DrewML","html_url":"https://github.com/DrewML","followers_url":"https://api.github.com/users/DrewML/followers","following_url":"https://api.github.com/users/DrewML/following{/other_user}","gists_url":"https://api.github.com/users/DrewML/gists{/gist_id}","starred_url":"https://api.github.com/users/DrewML/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrewML/subscriptions","organizations_url":"https://api.github.com/users/DrewML/orgs","repos_url":"https://api.github.com/users/DrewML/repos","events_url":"https://api.github.com/users/DrewML/events{/privacy}","received_events_url":"https://api.github.com/users/DrewML/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/babel/babylon/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-10-16T19:33:56Z","updated_at":"2016-10-26T19:30:55Z","closed_at":"2016-10-26T14:44:21Z","pull_request":{"url":"https://api.github.com/repos/babel/babylon/pulls/190","html_url":"https://github.com/babel/babylon/pull/190","diff_url":"https://github.com/babel/babylon/pull/190.diff","patch_url":"https://github.com/babel/babylon/pull/190.patch"},"body":"This closes #181. \r\n\r\nCopy/pasting the example I posted in that issue:\r\n\r\n**Test case**\r\n```javascript\r\nconst babylon = require('babylon');\r\nconst ast = babylon.parse('var foo = \"lol\";');\r\n```\r\n\r\n**Without bundling**\r\n![image](https://cloud.githubusercontent.com/assets/5233399/19420264/3133497e-93ad-11e6-9a6a-2da59c4f5c13.png)\r\n\r\n**With bundling**\r\n![image](https://cloud.githubusercontent.com/assets/5233399/19420267/388f556e-93ad-11e6-813e-7c5c396be322.png)\r\n\r\nWith that test case, there was a ~95ms savings by removing the need for node to build/traverse the dependency graph.\r\n\r\nAs noted in that thread, this requires (for now) dropping `npm run watch` due to bugs in `rollup-watch`. Would like to hear feedback from other contributors to determine if this is going to severely impact anyone's workflow."},"comment":{"url":"https://api.github.com/repos/babel/babylon/issues/comments/256452837","html_url":"https://github.com/babel/babylon/pull/190#issuecomment-256452837","issue_url":"https://api.github.com/repos/babel/babylon/issues/190","id":256452837,"user":{"login":"kittens","id":853712,"avatar_url":"https://avatars.githubusercontent.com/u/853712?v=3","gravatar_id":"","url":"https://api.github.com/users/kittens","html_url":"https://github.com/kittens","followers_url":"https://api.github.com/users/kittens/followers","following_url":"https://api.github.com/users/kittens/following{/other_user}","gists_url":"https://api.github.com/users/kittens/gists{/gist_id}","starred_url":"https://api.github.com/users/kittens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kittens/subscriptions","organizations_url":"https://api.github.com/users/kittens/orgs","repos_url":"https://api.github.com/users/kittens/repos","events_url":"https://api.github.com/users/kittens/events{/privacy}","received_events_url":"https://api.github.com/users/kittens/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T19:30:55Z","updated_at":"2016-10-26T19:30:55Z","body":"Yay, this will also stop people doing dumb shit like [this](https://medium.com/@jacobp100/adding-custom-syntax-to-babel-e1a1315c6a90#.4rzzuzqtb)."}}
{"actor":{"display_login":"kittens"}}