{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/3323","repository_url":"https://api.github.com/repos/babel/babel","labels_url":"https://api.github.com/repos/babel/babel/issues/3323/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/3323/comments","events_url":"https://api.github.com/repos/babel/babel/issues/3323/events","html_url":"https://github.com/babel/babel/pull/3323","id":131574506,"number":3323,"title":"Source-map support for multiple input source files","user":{"login":"divmain","id":5016978,"avatar_url":"https://avatars.githubusercontent.com/u/5016978?v=3","gravatar_id":"","url":"https://api.github.com/users/divmain","html_url":"https://github.com/divmain","followers_url":"https://api.github.com/users/divmain/followers","following_url":"https://api.github.com/users/divmain/following{/other_user}","gists_url":"https://api.github.com/users/divmain/gists{/gist_id}","starred_url":"https://api.github.com/users/divmain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divmain/subscriptions","organizations_url":"https://api.github.com/users/divmain/orgs","repos_url":"https://api.github.com/users/divmain/repos","events_url":"https://api.github.com/users/divmain/events{/privacy}","received_events_url":"https://api.github.com/users/divmain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-05T07:16:04Z","updated_at":"2016-02-05T08:27:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/babel/babel/pulls/3323","html_url":"https://github.com/babel/babel/pull/3323","diff_url":"https://github.com/babel/babel/pull/3323.diff","patch_url":"https://github.com/babel/babel/pull/3323.patch"},"body":"This PR allows tools built on top of Babel to parse multiple JS sources to AST, optionally transform them,  and combine them.  When output code is generated, source-maps will point to the original source files.\r\n\r\nThe minimum change necessary for my use case ([Interlock](https://github.com/interlockjs/interlock)) is contained in the first commit.  However, the additional changes add support for this use case to both ends of the Babel toolchain (and removes unnecessary traversals of the AST outside of Babel).\r\n\r\nDocumentation was added where it seemed it would be helpful.  I did not add tests since the test helpers assume a 1:1 transformation.  If you'd like me to add tests, let me know what it should look like.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/180248140","html_url":"https://github.com/babel/babel/pull/3323#issuecomment-180248140","issue_url":"https://api.github.com/repos/babel/babel/issues/3323","id":180248140,"user":{"login":"codecov-io","id":8655789,"avatar_url":"https://avatars.githubusercontent.com/u/8655789?v=3","gravatar_id":"","url":"https://api.github.com/users/codecov-io","html_url":"https://github.com/codecov-io","followers_url":"https://api.github.com/users/codecov-io/followers","following_url":"https://api.github.com/users/codecov-io/following{/other_user}","gists_url":"https://api.github.com/users/codecov-io/gists{/gist_id}","starred_url":"https://api.github.com/users/codecov-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecov-io/subscriptions","organizations_url":"https://api.github.com/users/codecov-io/orgs","repos_url":"https://api.github.com/users/codecov-io/repos","events_url":"https://api.github.com/users/codecov-io/events{/privacy}","received_events_url":"https://api.github.com/users/codecov-io/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T08:27:54Z","updated_at":"2016-02-05T08:27:54Z","body":"## [Current coverage][1] is `85.19%`\n> Merging **#3323** into **master** will decrease coverage by **-0.17%** as of [`4da5cf2`][3]\n\n\n```diff\n@@            master   #3323   diff @@\n======================================\n  Files          215     215       \n  Stmts        15759   15768     +9\n  Branches      3383    3387     +4\n  Methods          0       0       \n======================================\n- Hit          13452   13433    -19\n- Partial        685     707    +22\n- Missed        1622    1628     +6\n```\n\n> Review entire [Coverage Diff][4] as of [`4da5cf2`][3]\n\n\n[1]: https://codecov.io/github/babel/babel?ref=4da5cf26a12d05b696f17b8c6c5a13c3901ba304\n[2]: https://codecov.io/github/babel/babel/features/suggestions?ref=4da5cf26a12d05b696f17b8c6c5a13c3901ba304\n[3]: https://codecov.io/github/babel/babel/commit/4da5cf26a12d05b696f17b8c6c5a13c3901ba304\n[4]: https://codecov.io/github/babel/babel/compare/98fa405b91c9a8e70a9c50a052b387f9ba261dd6...4da5cf26a12d05b696f17b8c6c5a13c3901ba304\n\n> Powered by [Codecov](https://codecov.io). Updated on successful CI builds."}}